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

Astable multivibrator circuit, how does this circuit work and what are th e...

how does this circuit work and what are th electrical components in it do?

Explain about direct-current machines, Q. Explain about Direct-current mach...

Q. Explain about Direct-current machines? Generally speaking, conventional dc generators are becoming obsolete and increasingly often are being replaced by solid-state rectifie

Obtain a pos expression, Q. The K map of a logic function is shown in Figur...

Q. The K map of a logic function is shown in Figure. (a) Obtain a POS expression and its corresponding realization. (b) For the purpose of comparison, obtain the correspondin

General purpose diodes - types of power diodes , General Purpose Diodes ...

General Purpose Diodes The  general purpose  diodes  have relatively high reverse recovery time. The  diodes are general  made  by diffusion. They  are used  in low  speed  app

Give the classification of oscillators, Q. Give the classification of oscil...

Q. Give the classification of oscillators. Discuss the frequency stability of oscillators. Oscillators are classified in the following different ways. 1. According to the wa

What effect do non-tradable goods have on ppp, Q. What effect do non-tradab...

Q. What effect do non-tradable goods have on PPP? Answer: The consequence is quite substantial. In 1997 the production of non-tradable goods accounted for about 55% of U.S GN

Loss reduction and efficiency of electrical energy, Loss Reduction and Effi...

Loss Reduction and Efficiency Improvement of Electrical Energy 1. There are inherent losses in Transmission and Distribution of electrical energy from Generating station

Electric Optic Device, Transmission Through a LiNb0 3 Plate Examine the tr...

Transmission Through a LiNb0 3 Plate Examine the transmission of an unpolarized He-Ne laser beam (?o= 633 nm) normally incident on a LiNb0 3 plate (ne = 2.29, no = 2.20) of thickn

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