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

Calculate the normalized piecewise cubic spline curve, a) Define the blendi...

a) Define the blending function reparanetrization. b) Four position vectors P1[0 , 0], P2[1 ,1], P3[2 ,-1] ,P4[3, 0] are provided with tangent vectors P1'[1,1] and P4'[1,1]. Cal

Explain transfer of risk, Q. Explain Transfer of Risk? In case of this ...

Q. Explain Transfer of Risk? In case of this method, risk is transferred to some other person or organization. In other words, under this method, a person who is subject to ris

Show npn common collector amplifier, Q. Show NPN Common Collector Amplifier...

Q. Show NPN Common Collector Amplifier? The common collector amplifier, often called an emitter follower since its output is taken from the emitter resistor, is useful as

Digital logical disign, design SR latch with universal logic gates.draw and...

design SR latch with universal logic gates.draw and explain the logic diagrams

Robotic, Ask questCompute the mean and variance of a four-level image with ...

Ask questCompute the mean and variance of a four-level image with histogram p(z\ ) = 0.1, p{zi) = 0.4, ?(1?) =0.3, p{za) = 0.2. Assume that z\ = 0, zi = 1, z$ = 2, and ? — ?. i

Actuators , Actuators These devices convert electromagnetic energy to...

Actuators These devices convert electromagnetic energy to mechanical energy to produce intermittent mechanical movement (e.g. opening a valve in a central heating system or c

Determine briefly subscriber loop system, Q. Determine briefly subscriber l...

Q. Determine briefly subscriber loop system.  Give some technical specification for subscriber lines. Ans: Subscriber Loop System: Each subscriber in a telephone network is

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