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

Write the volt-ampere relations for the coupled inductors, Q. For the coupl...

Q. For the coupled inductors shown in Figure, neglecting the coil resistances, write the volt-ampere relations.

Electrical machine -i, What are the causes of sparking in the commutator? E...

What are the causes of sparking in the commutator? Explain the methods to reduce the sparking in the commutator?

What is dual tone multi frequency, Q What is Dual Tone Multi Frequency? ...

Q What is Dual Tone Multi Frequency? Dual Tone Multi Frequency (DTMF) was first introduced in 1963 with 10 buttons in Western Electric 1500 -type telephones. DTMF was originall

Jump instruction - branch operations , Jump Instruction There are two ...

Jump Instruction There are two types of jump  instruction unconditional jump conditional jumps

Find the approximate bandwidth of the circuit, Q. An op amp has an open-loo...

Q. An op amp has an open-loop frequency response as shown in Figure. (a) Find the approximate bandwidth of the circuit using this op amp: (i) With a closed-loop voltage gain

Clapp oscillator, derivation of frequency of oscillators clapp and derive C...

derivation of frequency of oscillators clapp and derive C effect?

Define sampling below the nyquist rate, Define Sampling below the Nyquist R...

Define Sampling below the Nyquist Rate? A further reduction of the sampling frequency will reason one sample to be taken each period. The Case 3 plot depicts the effect of this

DC. motors, what''s the difference between DC. motors and AC. motors

what''s the difference between DC. motors and AC. motors

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