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

Define the term assembler directives, Define the term assembler directives....

Define the term assembler directives. An assembler directive is a statement to provide direction to the assembler to perform the function of assembly process. The assembler di

Magnetic field, how magnetic field is related to electric field

how magnetic field is related to electric field

Measurement of frequency by wein''s bridge, Q.  Explain the measurement of...

Q.  Explain the measurement of frequency in detail by using Wein's bridge. Sol. The Wein's bridge is presented here not only for its use as an AC bridge to measure frequency

Sinusoidal steady-state phasor analysis, Q. Sinusoidal steady-state phasor ...

Q. Sinusoidal steady-state phasor analysis? The kind of response of a physical system in an applied excitation depends in general on the type of excitation, the elements in the

Transmission, what are the grond clearance for 220KV overhead transmission ...

what are the grond clearance for 220KV overhead transmission lines?

Explain by using a circuit diagram a darlington pair, Q. Explain by using a...

Q. Explain by using a circuit diagram, a ‘Darlington Pair'. Mention its advantages? THE DARLINGTON PAIR : This is a very special way of direct coupling of two transistors. The

Variation of energy bands with alloy composition, Variation of Energy Bands...

Variation of Energy Bands with Alloy Composition The  band  structures  of  III-V  ternary  and  quaternary  compounds  modifies  as  their composition is varied. There

Assembly language, To find out the largest of ten 8 bit numbers. Method: Th...

To find out the largest of ten 8 bit numbers. Method: The numbers are stored in consecutive memory locations. The counter register is initialized with 0A and the address pointer po

Problem on pulse code modulation, (a) "Pulse Code Modulation (PCM), as used...

(a) "Pulse Code Modulation (PCM), as used in telephony, samples a signal at 8 kHz using 256 quantization levels". i. Outline how this scheme works with the help of sketches and,

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