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

Zero-bias equilibrium, Zero-Bias Equilibrium In a p-n junction, with n...

Zero-Bias Equilibrium In a p-n junction, with no an external applied voltage, an equilibrium condition is arrived at in which a potential variation is formed across the juncti

Measurement of frequency by wein''s bridge, Q.  Explain the measurement of...

Q.  Explain the measurement of frequency in detail by using Wein's bridge. Sol. The Wein's bridge is presented here not only for its use as an AC bridge to measure frequency

Give a brief description of integrating circuits, Q. Give a brief descripti...

Q. Give a brief description of integrating circuits ? Integration is a summation of area. An integrating circuit produces an output voltage which is proportional to the area en

Superposition Theorem, Help using superpositions find voltage across all re...

Help using superpositions find voltage across all resistor

Counters, i need a counter of following o/p truth table 00000000 10000000 1...

i need a counter of following o/p truth table 00000000 10000000 11000000 11100000 11110000 11111000 11111100 11111110 11111111 00000000 10000000 . . . so please suggest me some IC

Give the properties and application of cotton, Give the properties and appl...

Give the properties and application of cotton. Cotton : It is base material for insulating fibres. Properties: It can be enhanced by impregnating with varnish. 1)

Define electrical energy, Electrical energy If the power is measured in...

Electrical energy If the power is measured in watts and the time in seconds then the unit of energy is watt- seconds or Joules.

Shunt dc motor, Shunt DC motor In this arrangement, the armature and f...

Shunt DC motor In this arrangement, the armature and field coils are connected in parallel (the motor is called 'shunt connected').     Analysis With refere

Illustrate about full duplex transmission, Q. Illustrate about Full Duplex ...

Q. Illustrate about Full Duplex Transmission? Full Duplex Transmission Data can travel in both directions simultaneously. There is no need to switch from transmit to receive

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