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

Find the expressions for the inductor current, Consider the RL circuit of F...

Consider the RL circuit of Figure with R = 2, L = 5H, and v(t) = V = 20 V (a dc voltage source). Find the expressions for the inductor current i L (t) and the inductor voltage v L

Determine the shaft power output, Determine the shaft power output: A ...

Determine the shaft power output: A 6-pole, 50 Hz, 3-phase induction motor running on full load develops a useful torque of 180 Nm when the rotor emf frequency is 2 Hz. Determ

How much energy could be saved on motor.., configured as attraction force ...

configured as attraction force rotation and brief stutter at zero degree putting a diode to a capacitor collecting energy of collapsing magnetic field to recycle on next power inpu

Analog circuit analysis, consider a single stage ce amplifier with rs=1kohm...

consider a single stage ce amplifier with rs=1kohm,r1=50ohm,r2=2kohm,rc=1kohm,rl=1.2kohm,hfe=50,hie=1.1kohm,hoe=25microamp/volt and hre=2.5*10-4

Transistors, how fet transistor works in self bias

how fet transistor works in self bias

Classify the magnetic materials, Classify the magnetic materials into diama...

Classify the magnetic materials into diamagnetic, paramagnetic, ferromagnetic and ferrimagnetic materials. Also give examples of each. Classification of magnetic materials:-

Expression for generated emf in a dc generator, Q.   Derive the expression ...

Q.   Derive the expression for generated emf in a dc generator. Ans. Expression for Generated emf in a DC Generator                We shall now derive an expre

Fixed bias with emitter resistor, Fixed bias with emitter resistor: ...

Fixed bias with emitter resistor: Figure: Fixed bias with emitter resistor The fixed bias circuit is changed through attaching an external resistor to the emitter

Condition return, Condition Return Similar to conditional jump and cal...

Condition Return Similar to conditional jump and call  instructions there are conditional return  instructions  also  based on various  flags.

Maximum apparent power transferred by conduction, Q. A single-phase, two-wi...

Q. A single-phase, two-winding, 10-kVA, 440:110- V, 60-Hz transformer is to be connected as an autotransformer to supply a load at 550 V from a 440-V supply. Draw a schematic diagr

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