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

Explain multimeter, Explain multimeter A multimeter, or universal instr...

Explain multimeter A multimeter, or universal instrument, may be used to measure voltage, current and resistance.

Description of the program counter and the data pointer, Questions: a) ...

Questions: a) Give a brief description of the program counter and the data pointer, including their differences. b) Briefly describe what are Byte-Level logical operations

Sui subtract immediate i instructions , SUI  Subtract Immediate I Instruct...

SUI  Subtract Immediate I Instructions The 8 bit  data  specified  in the  instruction  is directly  subtracted  from the  contents of  accumulator  and results  of operation

Show process of power transmission and distribution, Q. Show Process of Pow...

Q. Show Process of Power transmission and distribution? The structure of a power system can be divided into generation (G), transmission, (T), and distribution (D) facilities,

Phase equilibria, distinguish between brittle and ductile fracture

distinguish between brittle and ductile fracture

Factors involved in the voltage build up of shunt generator, Q.   List and ...

Q.   List and explain the factors involved in the voltage build up of shunt generator. Ans. following factors are involved in voltage build up of shunt generation

Explain law all point on wave front seems as new wave source, Whose princip...

Whose principle or law states that each point on a wave front may be considered a new wave source? Is it: w) Snell's Law x) Huygen's Principle y) Young's Law z)

Compute the magnitude of the line-to-line voltage, Q. Three identical imped...

Q. Three identical impedances of 30 30° are connected in delta to a three-phase 173-V system by conductors that have impedances of 0.8 + j0.6  each. Compute the magnitude of the l

What is the purpose of carry flag and zero flag, What is the purpose of car...

What is the purpose of carry (c) flag and zero (z) flag? Carry flag conatins the carry after addition or borrow after subtraction. This carry flag also shows error conditions,

Compute product of inductance and capacitance, Q. The inductance per unit l...

Q. The inductance per unit length in H/m for parallel-plate infinitely long conductors in air is given by L = µ 0 d/w = 4π×10 -7 d/w, where d and w are inmeters. Compute L (per un

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