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

Define the universal property of nand and nor gates, Define The universal p...

Define The universal property of NAND and NOR Gates? The NAND and NOR gates are called universal gates, because any gate can build by using these two gates. The univers

Application platform requirement - gis technology, Software/Application Pla...

Software/Application Platform Requirement: GIS solutions would primarily consist of Database and Applications software. The application package should work in LAN/WAN/Interne

Find the forced component of the current, Q. Consider an RC parallel circui...

Q. Consider an RC parallel circuit excited by (a) i(t) = 20e -2t A, and (b) i(t) = 20 A. Find the forced component of the current through the capacitor for R = 2  and C = 2F.

Find the value of frequency, Although the low side is not as good a choice ...

Although the low side is not as good a choice as the high-side local oscillator frequency, let an AM broadcast receiver be designed with a low-side local oscillator. As fc is varie

Water technology, #question. . =calculate the calcium carbonate equivalent ...

#question. . =calculate the calcium carbonate equivalent hardness of calcium sulphate of 5gms present in one litre

Calculate the reflection of wedge, The corners of wedge-shaped block are A(...

The corners of wedge-shaped block are A(0,0,2), B(0,0,3), C(0,2,3), D(0,2,2), E(-1,2,2) and F(-1,2,3) and the reflection plane goes the Y-axis at 450 between (-X) & (Z) axis. Calcu

Carry flag - registers, Carry Fla Registers  The  size  of the accumul...

Carry Fla Registers  The  size  of the accumulator is of 8 bit  if after  any arithmetical  or logical  operation 9 th   bit is generated i e  there is  carry beyond  D 7   bi

Explain working of electrically erasable programmable rom, Q. Working of El...

Q. Working of Electrically erasable programmable rom EEPROM is used for remote-area applications. The device is provided with special pins which, when activated electrically, a

Lica, advantages of constant current bias

advantages of constant current bias

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