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

Limitor, What is limitor.. how it works

What is limitor.. how it works

Draw timing diagram of synchronous counter, Q. Consider the synchronous cou...

Q. Consider the synchronous counter shown in Figure of the text. (a) Draw its timing diagram. (b) Show the implementation of the same synchronous counter using D flip-flops.

Clc filter, CLC or π Filter The above diagram displays CLC or π ty...

CLC or π Filter The above diagram displays CLC or π type filter, which mainly contains a capacitor filter, followed through LC section. This filter offers a quite smooth o

Buck boost converter - power supplies , Buck Boost Converter The outpu...

Buck Boost Converter The output  of buck boost  regulator may be  less than  or greater than the  input  voltage. Since  the polarity of output  voltage  is opposite  to that

Wcdma, what is that mean and explain

what is that mean and explain

Calculate the rms voltage generated in each phase, Q. Consider an elementar...

Q. Consider an elementary three-phase, four-pole alternator with a wye-connected armature winding, consisting of full-pitch concentrated coils.  Each phase coil has three turns,

Serial input output ports , Serial Input output Ports For serial  inpu...

Serial Input output Ports For serial  input  and output  there are  two pins  in 8085 microprocessor

Society in engineering, Cite a specific example in which the engineer must ...

Cite a specific example in which the engineer must provide maximum efficiency for a given cost

Briefly explain single mode and multimode fibres, Briefly explain single mo...

Briefly explain single mode and multimode fibres The optical fibres were categorized within two according to the number of modes it passes as: • Single mode fibres • Multi mode

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