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

Determine collector - emitter voltage and base current, Q. A transistor is ...

Q. A transistor is connected in common emitter configuration collector supply voltage Vcc is 10 volts load resistance Rl is 800ohm,voltage drop across load resistance is 0.8v and c

Ratio, how do ratos connect to engineering

how do ratos connect to engineering

Half wave rectifier connected to a dc motor, Ask questiwe have half wave re...

Ask questiwe have half wave rectifier connected to a dc motor load. by using a step down transformer from 8 to 1. by modalization we have the Primary Winding resistance is Rp=50 oh

Distinguish between ferromagnetic and diamagnetic materials, Distinguish be...

Distinguish between ferromagnetic and diamagnetic materials, mentioning at least one example of each. Ferromagnetic Materials: These are materials wherein magnetic dipoles in

Astigmation control, Astigmation control: In most modern oscilloscopes the...

Astigmation control: In most modern oscilloscopes there is an additional focusing control marked Astigmation . This is used to correct an effect which exactly is analogous to

Application of plc - stepper motor , Application of PLC a. A PLC  is us...

Application of PLC a. A PLC  is used to start  and stop  the motors  of a segmented conveyor beli. This  allows  only belt section carrying  a copper plate to move. b.In aut

Transfer characteristics , Transfer Characteristics The  transfer char...

Transfer Characteristics The  transfer characteristics of power MOSFET   transfer characteristic shown the variation of ID with V GS    denote the drain current  with shorted

Explain eddy currents, Explain Eddy currents. Eddy currents: Magnetic m...

Explain Eddy currents. Eddy currents: Magnetic materials placed as in alternating magnetic fields have eddy currents also induced in them. It is because the material is subject

Describe about reduction clause, Q. Describe about Reduction Clause? Re...

Q. Describe about Reduction Clause? Reduction clause specifies an operator as well as one or more list items. For every list item a private copy is created on every thread and

Methods of testing, Methods of Testing Irrespective of reasons, testin...

Methods of Testing Irrespective of reasons, testing is commonly carried out 1. On site, or 2. In a Meter Testing Station (MTS) accredited as per IS/ISO/IEC 17025.

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