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

How is 8255 (programmable peripheral interface) configured, How is 8255 (Pr...

How is 8255 (Programmable Peripheral Interface) configured if its control register contains 9B h. Ans. Programmable Peripheral Interface Command Byte B (sets or

Find out the equivalent two-port amplifier model, Refer to the circuit show...

Refer to the circuit shown below containing a two-port network. The two-port is a transconductance amplifier. The input port of the two-port is defined by terminals A and B. T

Capacitive var, how over compensation by capacitive var rises voltage in a ...

how over compensation by capacitive var rises voltage in a circuit?

Wheaton bridge with differential amplifier, when strain gauge design give a...

when strain gauge design give accurate measurement on zero and maximum 999kg but not 500kg

Define permanent magnet, Define permanent magnet A permanent magnet is ...

Define permanent magnet A permanent magnet is a piece of ferromagnetic material (like as iron, nickel or cobalt) which has properties of attracting several pieces of these mater

Calculate the gain and phase response of fir digital filter, Calculate the ...

Calculate the gain and phase response of an FIR digital filter Calculate the gain and phase response of an FIR digital filter as in below Figure with A 0 = 1, A 1 = 2, A 2 =

Explain the properties of low resistivity materials, Explain the properties...

Explain the properties of low resistivity materials. Low resistivity materials: The conducting materials containing resistivity from 10 -8 to 10 -6 ohm-m come under this cl

Minimize f in a pos form and obtain a possible realization, Q. The truth ta...

Q. The truth table for F(A,B,C) = Mi (0, 1, 6, 7) is as follows: (a) Express F in a canonical product-of-sums form. (b) Minimize F in a POS form and obtain a possible re

Dc motor characteristics, Q. DC Motor Characteristics? We gain an under...

Q. DC Motor Characteristics? We gain an understanding of the speed-torque characteristics of a dc motor from Equations. In shunt motors, the field current can be simply control

Semiconductor devices, Semiconductor Devices: We have studied semicond...

Semiconductor Devices: We have studied semiconductor devices. Firstly, we understand what semiconductors in terms of energy band diagrams are. Then we understand what is dopin

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