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

What do you mean by companding, Q. What do you mean by Companding? In o...

Q. What do you mean by Companding? In order to lower the crest factor of a waveform, so as to produce better performance, a process known as companding is used. It works like a

Diode characteristic, Q. For the circuit shown in Figure(a), determine the ...

Q. For the circuit shown in Figure(a), determine the diode current and voltage and the power delivered by the voltage source. The diode characteristic is given in Figure.

Improving joints and connections - energy loss, Improving Joints and Connec...

Improving Joints and Connections - Energy Loss Improper joints are a source of energy loss in both overhead and underground systems. The conductivity of joint should not be le

Magnetism, with the aid of the diagram explain the following rules that can...

with the aid of the diagram explain the following rules that can be used to determine the direction of magnetic fields around a current carrying conductor (1)cork screw rule (2)rig

What do you mean by induction, Q. What do you mean by Induction? The es...

Q. What do you mean by Induction? The essentials for producing an emf bymagneticmeans are electric andmagnetic circuits,mutually interlinked. Figure (a) shows a load (or sink o

Show lumped-circuit elements, Electric circuits or networks are formed by i...

Electric circuits or networks are formed by interconnecting various devices, sources, and components. Although the effects of each element (such as heating effects, electric-?eld e

Explain modulation and sampling, Q. Explain Modulation and sampling? Mo...

Q. Explain Modulation and sampling? Modulation is the process whereby the amplitude (or another characteristic) of a wave is varied as a function of the instantaneous value of

ELECTRIC DRIVES, BLOCK DIAGRAM OF DIGITAL CONTROL OF ELECTRIC DRIVES

BLOCK DIAGRAM OF DIGITAL CONTROL OF ELECTRIC DRIVES

Composition of fet, Composition of FET The FET (field-effect transisto...

Composition of FET The FET (field-effect transistor) can be constructed from several semiconductors, silicon being by far the most common. Several FETs are made with conventio

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