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

Overview of decimal number system, Q. Can you give some Overview of Decimal...

Q. Can you give some Overview of Decimal Number System? The Decimal Number System uses base 10 and It includes the digits from 0 through 9. The weighted values for each positio

Requirement of a hybrid in telephone networks, Q. What is the requirement o...

Q. What is the requirement of a hybrid in telephone networks? How does it work? Ans: Digital exchanges require receive and transmit signals on separate two-wire circuits. Th

What is interfacing, What is interfacing? An interface is a shared boun...

What is interfacing? An interface is a shared boundary among the devices which includes sharing information. Interfacing is the process of making two dissimilar systems communi

Superposition, advantages and disadvantaages of superposition

advantages and disadvantaages of superposition

Determine the electric force on each charge, Q. Point charges, each of √4πε...

Q. Point charges, each of √4πε 0 C, are located at the vertices of an equilateral triangle of side a. Determine the electric force on each charge.

What is effect of temperature on semiconductor conductivity, What is the ef...

What is the effect of temperature on conductivity of semiconductor? Electrical conductivity of semiconductor changes appreciably along with temperature changes. At absolute zer

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

Where holes are majority carriers, Holes are majority carriers in (A) ...

Holes are majority carriers in (A) P-type semiconductors.  (B) N-type semiconductors. (C)  Insulators.            (D) Superconductors. Ans: Holes are m

Compute the fourier transform, Compute the Fourier Transform of the followi...

Compute the Fourier Transform of the following function: f(x) = exp( - x 2 /(2σ 2 )) cos (2πx/k) where σ and k are constants. What is the minimum sampling rate required

Merits and demerits of voltage divider bias, Merits and Demerits of Voltage...

Merits and Demerits of Voltage divider bias: Merits: 1. Not like the above circuits, only one dc supply is essential. 2. Operating point is approximately independent o

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