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

What do you mean by macro, What do you mean by Macro? MACRO : A seque...

What do you mean by Macro? MACRO : A sequence of instructions to that a name is assigned is termed as macro. Macros and subroutines are same. Macros are utilized for short se

Project, You have to look up the data sheets for the LM317 (Not LT317), LT1...

You have to look up the data sheets for the LM317 (Not LT317), LT1006. V1 is a standard 9 volt battery, and the resistors are “through hole”. Label the test points in, V+, gnd, and

Calculate the bandwidth of the new signal, A signal comprises a bandwidth o...

A signal comprises a bandwidth of 1kHz centred around 1kHz.  A sine wave along with a frequency of 1250Hz is added to the signal. The bandwidth of the new signal is: 2250Hz

Power system, a rectangular surge of 2us duration and magnitude of 100Kv tr...

a rectangular surge of 2us duration and magnitude of 100Kv travels along a line of surge impedance 500 ohms. The latter is connected to another line of equal impedance through an i

Digital control system, block diagram of digital control system and explain...

block diagram of digital control system and explain each block

What is choke packet, a. Explain Choke packet. Describe implicit Congestion...

a. Explain Choke packet. Describe implicit Congestion Signalling and explicit Congestion Signalling in Congestion control. b. State routing parameters in packet switching networ

Microprocessor, what is the function of CBW in the microprocessor

what is the function of CBW in the microprocessor

Calculate the analog output voltag, For the 3-bit 2 n -R D/A converter of ...

For the 3-bit 2 n -R D/A converter of Figure, calculate the analog output voltage when the input is (a) 100, and (b) 010. Solution a. For the binary input 100, switches con

Determine the sampling rate for an analog signal, Using Nyquist t...

Using Nyquist theorem, determine the sampling rate for an analog signal with frequencies from 3000Hz to 86000Hz and for a signal with ahorizontal line in th

Write a note on superconductors, Write a note on superconductors. Super...

Write a note on superconductors. Superconductors- The resistivity of most metals rises with increase in temperature and vice-versa. Some metals and chemical compounds are there

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