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

Determine the open-circuit output voltage, Q. Determine the open-circuit ou...

Q. Determine the open-circuit output voltage v o of the system shown in Figure as a function of the input voltage v i .

Explain mobility, Explain Mobility . Average drift velocity of electrons...

Explain Mobility . Average drift velocity of electrons (e - ) in an applied field is proportional to the field, the absolute magnitude of the proportionality factor eq/m, termed

Determine vout and the power supplied, Q. An operational amplifier stage is...

Q. An operational amplifier stage is typically represented by the circuit of Figure. For the values given, determine V out and the power supplied by the 2.5-V source.

Student, difference between cmp and sub in microprocessor.

difference between cmp and sub in microprocessor.

Substation preventive maintenance scheduling optimization, Introduction: ...

Introduction: The scheduling system that is followed by the maintenance department is not well established and is dependable on employee's personal judgment. There were a lot o

Draw the complete circuit of a dual voltage source, Q. Draw the complete ci...

Q. Draw the complete circuit of a dual voltage source using 7805 and 7905. A voltage regulator is a circuit that supplies a constant voltage regardless of changes in load curre

Write some notes for the gauss-seidel method, Write Some Notes for the Gaus...

Write Some Notes for the Gauss-Seidel Method? 1.  Equation below is used to calculate the voltage at each busbar in turn, always using the most up to date values for the other

Find the output voltage in full-wave rectified waveform, Q. The full-wave r...

Q. The full-wave rectified waveform, approximated by the first three terms of its Fourier series, is given by v (ωt) = V m sin (ωt/2), for 0 ≤ ωt ≤ 2π, and where V m = 100

Find a local s-matrix for each triangle, Figure show two first-order triang...

Figure show two first-order triangular finite elements used to solve the Laplace equation for electrostatic potential. Find a local S -matrix for each triangle, and a global S -m

Details of a distribution transformer, Electrical network details: 1  ...

Electrical network details: 1          single line diagrams with conductor sizes, transformer locations, consumer location, lengths, capacitors, and load, etc., 2

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