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

Oscillator, how to design colpitts oscillator?

how to design colpitts oscillator?

Explain working of cardiac pacemaker, Q. Explain working of Cardiac Pacemak...

Q. Explain working of Cardiac Pacemaker? When blockage occurs to the biological signals that stimulate the heart to beat, the application of electric pacemaker pulses forcing t

What is segment displays, Q. What is Segment displays? Seven-segment di...

Q. What is Segment displays? Seven-segment displays are the most commonly used numeric display devices, while 10- and 16-segment (starburst) display devices are also available.

Use of monitoring and control in nuclear and chemical plants, Use of Monito...

Use of Monitoring and control in nuclear and chemical plants In nuclear and chemical plants, there is generally a combination of control and monitoring taking place. Informatio

Name the different methods used for data transmission, What are the differe...

What are the different types of methods used for data transmission? The data transmission among two points involves unidirectional or bi-directional transmission of meaningful

Digital electronics logic family, For a given logic family, consider VOL = ...

For a given logic family, consider VOL = 0.25V and VOH = 5 V . For a given circuit, VIL = 0.96 V and VIH = 2.18 V. Find the largest positive-going and largest negative-going nois

Singular value decomposition, Singular Value Decomposition (i) initial...

Singular Value Decomposition (i) initialize a 2x2 matrix m=[4 0.5;0.5 7]  Factorize the matrix with SVD [u d v]=svd(m) How the matrix u and v differ? Why is that?

Matlab ? uniform quantization, simulate a uniform quantizer that takes as a...

simulate a uniform quantizer that takes as an input a vector of numbers and returns as an output the quantized vector. 1-Generate a random input vector of 10000 samples randomly in

Find the t- domain forced response, Consider an RLC series circuit excited ...

Consider an RLC series circuit excited by v(t) = Ve st in the time domain. Assume no initial capacitor voltage or inductive current at t = 0. Draw the transformed network in the s

Octal to binary conversion, Octal to binary Conversion Conversion form ...

Octal to binary Conversion Conversion form  octal to binary  is the reverse  of this process. Express each  octal digit  in three bit  binary  equivalent. Ex. Convert 3576

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