Program implementing the conjugate gradient method, Electrical Engineering

Assignment Help:

Write a program implementing the conjugate gradient method (un-preconditioned). Solve the  matrix equation corresponding to a finite difference node-spacing, h = 0.02m in x and y directions for the same one-quarter cross-section of the system shown in Figure. Use a starting solution of zero.

(a) Test your matrix using your Choleski decomposition program that you wrote for Question 1 of Assignment 1 to ensure that it is positive definite. If it is not, suggest how you could modify the matrix equation in order to use the conjugate gradient method for this problem.

(b) Once you have modified the problem so that the matrix is positive definite, solve the matrix equation first using the Choleski decomposition program from Assignment 1,and then the conjugate gradient program written for this assignment.

(c) Plot a graph of the infinity norm and the 2-norm of the residual vector versus the number of iterations for the conjugate program.

(d) What is the potential at (x,y) = (0.06, 0.04), using the Choleski decomposition and the conjugate gradient programs, and how do they it compare with the value you computed in Question 2(b) above. How do they compare with the value at the same (x,y) location and for the same node spacing that you computed in Assignment 1 using SOR.

(e) Suggest how you could compute the capacitance per unit length of the system from the finite difference solution.

506_Compute the capacitance.png


Related Discussions:- Program implementing the conjugate gradient method

Matlab, Exercise 1: Data array manipulation and selection using for loops ...

Exercise 1: Data array manipulation and selection using for loops These exercises demonstrate the use of for loops in array manipulation and selection. a) Write a user-defined fun

Working principle of a q meter, Q. Explain the working principle of a Q met...

Q. Explain the working principle of a Q meter. Also explain the factors that cause errors during a Q factor measurement. Ans.   Working Principle of Q Meter: the q meter is

Estimate hortons infiltration equation , Show that the infiltration volume ...

Show that the infiltration volume estimated using Horton's infiltration equation between times t1 and t2 is given by; F =f c (t 2 -t 1 )+(f 1 -f c )(1-e -k(t2-t1) )/k Use the

Lc circuits, L=0.0053nH, C=15µF find the operating frequency of series LC c...

L=0.0053nH, C=15µF find the operating frequency of series LC circuit. What factors decides capacitance ..

Define characteristics of discrete time systems - linear, Define Characteri...

Define Characteristics of Discrete Time Systems - Linear? A discrete-time system is said to be linear if it obeys the principles of superposition. That is, the response of a li

Determine currents in the circuits, Determine currents in the circuits: ...

Determine currents in the circuits: Determine currents I 1 and I 2 in the given circuits by applying KVL. Solution We apply KVL for first loop : 10 = 1 I 1   + 1

Determine the efficiency of the transformer, 1.    A 230/1000V 50 Hz, singl...

1.    A 230/1000V 50 Hz, single phase transformer has the following test data: Open circuit test (L.V.) Primary voltage = 230V Primary current = 1.30 A Input power

Data rates in pstns, Data rates in PSTNs: A voice channel in a PSTN is ...

Data rates in PSTNs: A voice channel in a PSTN is band limited with a nominal bandwidth of 3.1 kHz. A first-cut estimate of this can be attained from Nyquist's theorem that app

Determine the rectified load voltage, Consider the circuit of Figure (a) wi...

Consider the circuit of Figure (a) with v S (t) = 10 cos ωt. Use the piecewise-linear model of the diode with a threshold voltage of 0.6 V and a forward resistance of 0.5  to dete

Bjt, how do I find the ic and ve

how do I find the ic and ve

Write Your Message!

Captcha
Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd