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 maximum electric field in the depletion region, An abrupt sil...

An abrupt silicon (n i = 10 10 cm -3 ) p-n junction consists of a p-type region containing 10 16 cm -3 acceptors and an n-type region containing 5 x 10 16 cm -3 donors. a)

What is peripheral component interconnect, What is a PCI bus? Periphera...

What is a PCI bus? Peripheral Component Interconnect: PCI bus was developed through Intel and introduced in 1993. This is geared specifically to fifth- and sixth-generation sys

Zener diode, what is Zener diode ? give some uses of it .

what is Zener diode ? give some uses of it .

Draw circuit diagrams and show polarity markings, Q. Two single-phase trans...

Q. Two single-phase transformers, each rated 2400: 120-V, are to be interconnected for (a) 4800:240- V operation, and (b) 2400:120-V operation. Draw circuit diagrams and show polar

Explain resistivity of conducting materials, Explain factors that change th...

Explain factors that change the resistivity of conducting materials. Temperature- Electrical resistance of most metals rises with increase of temperature whereas those of sem

Compute the minimum line current for the motor, A three-phase, wye-connecte...

A three-phase, wye-connected, four-pole, 400- V, 60-Hz, 15-hp synchronous motor has a synchronous reactance of 3  per phase and negligible armature resistance. The data for its no

Vector calculus in electromagnetic theory, can you please briefly explain a...

can you please briefly explain about significance of the word direction in vectors with some valid points

Sbi subtract immediate with borrow instruction, SBI Subtract Immediate  w...

SBI Subtract Immediate  with Borrow  Instruction This  instruction is  used to subtract 8 bit  data and  borrow from the  accumulator. The  result of  the operation is  stored

find power flow solution for the system, For the 3 bus system shown below ...

For the 3 bus system shown below all values are given in pu on a 100MVA base (a) Use Matlab functions lfgauss and lfnewton to find power flow solution for the system, accurate

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