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

Extrinsic material, Extrinsic Material In addition to thermally ge...

Extrinsic Material In addition to thermally generated carriers, it is possible to create carriers in the semiconductor by purposely introducing impurities into the crystal

Calculate arithmetic mean, a) Get the best linear relationship in accordanc...

a) Get the best linear relationship in accordance with least square analysis for the following data:- X 0.9 2.3 3.3 4.5 5.7 6.7 Y 1.1 1.6 2.6 3.2 4.0 5.0 b) The table belo

Determine the disadvantages of GPS system, Determine the disadvantages of G...

Determine the disadvantages of GPS system -  Maps not up to date hence instructed to carry out an incorrect manoeuvre (for example turn into a road that no longer exists) -

Static or electronic energy meters, Static or Electronic Energy Meters ...

Static or Electronic Energy Meters Electronic energy meters are replacing traditional electromechanical meters in several residential, commercial and industrial applications s

#titl4 bit binary addere.., Ask question #Madvantages of 4 bit binary adder...

Ask question #Madvantages of 4 bit binary adder inimum 100 words accepted#

Explain about zener diodes, Q. Explain about Zener Diodes? Most diodes ...

Q. Explain about Zener Diodes? Most diodes are not intended to be operated in the reverse breakdown region. Diodes designed expressly to operate in the breakdown region are cal

What is non-maskable interrupts, An interrupt which can be never be turned ...

An interrupt which can be never be turned off (ie. disabled) is called as Non-Maskable interrupt.

Find the magnetic-field force exerted on the moving bar, Consider the arran...

Consider the arrangement shown in Figure. A conductor bar of length l is free to move along a pair of conducting rails. The bar is driven by an external force at a constant velocit

Realize the function f by a k map using 0s, Q. Given the following truth ta...

Q. Given the following truth table: (a) Realize the function f by a K map using 0s. (b) Realize the function f by a K map using 1s.

Competition and non-conventional energy, Competition and Non-conventional e...

Competition and Non-conventional energy: Competition: The tariff policy bolsters competition through making it mandatory for a distribution licensee to procure power by

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