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

Compare procedure and macro, Compare Procedure & Macro  Accessed by CAL...

Compare Procedure & Macro  Accessed by CALL & RET instruction Accessed during assembly with name given during program implementation to macro when defined Machine code for inst

Rectifier, the forward resisitance of a semi conductor diode is 10 ohm, two...

the forward resisitance of a semi conductor diode is 10 ohm, two such diodes used in full wave rectifier subjectto a sinusoidal voltage wave form. given by v(t)=308 , sin(100 pi t)

Packet switching over circuit switching, Q. Justify disadvantages and advan...

Q. Justify disadvantages and advantages of packet switching over circuit switching? Ans: Comparison of circuit switching and packet switching showing disadvantages and advan

Calculate the active and reactive power, The variable resistor Z o in the ...

The variable resistor Z o in the circuit shown in Fig. 1  is adjusted until maximum average power is delivered to Zo. a)  Find the value of Z o b)  Calculate the maximum av

Determine gold and silver are which type of materials, Gold and silver are ...

Gold and silver are (A) Dielectric materials (B) Low resistivity conducting materials. (C) Magnetic materials. (D) Insulating materials. Ans: Gold and si

find the value of the slip and air gap power, The Thevenin equivalent circ...

The Thevenin equivalent circuit at the terminals of R2 / S for a 60 hz, 6 pole induction motor is shown below. a) Find the value of the slip for maximum torque and the maximum t

Find the phasor values with peak magnitude, Q. For the circuit shown in Fig...

Q. For the circuit shown in Figure, find the phasor values (with peak magnitudes) of ¯I, ¯V R , ¯V L , and ¯V C by using PSpice.

Working of a negative clamping circuit, Q. Draw and explain the working of ...

Q. Draw and explain the working of a negative clamping circuit. The clamping network shown above is a negative clamping circuit that will clamp the input signal to a negative d

Semiconductor diode, Semiconductor Diode: the semi conductor diode is ...

Semiconductor Diode: the semi conductor diode is formed by simply bringing n and p tripe material together (constructed from same base ge and si), at the instant the two mater

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