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

Commercial fm radio broadcasting, Q. Commercial FM radio broadcasting? ...

Q. Commercial FM radio broadcasting? Commercial FM radio broadcasting utilizes the frequency band of 88 to 108 MHz for the transmission ofmusic and voice signals. The carrier

., Ask quA 380-V, 15-hp, 50-Hz, four-pole, Y-connected wound-rotor inductio...

Ask quA 380-V, 15-hp, 50-Hz, four-pole, Y-connected wound-rotor induction motor has the following impedances in ohms per phase referred to the stator circuit: R1= 0.453? R2= 0.24

Different types of dc generation, Q.   What are the different types of dc g...

Q.   What are the different types of dc generation according to the ways in which fields are excited. Show the connection diagram of each type. Ans. Types of D.C.

Determine the slip at which maximum torque, A three-phase, 220-V, 60-Hz, fo...

A three-phase, 220-V, 60-Hz, four-pole, wye connected induction motor has a per-phase stator resistance of 0.5 . The following no-load and blocked rotor test data on the motor are

Matlab ? uniform quantization, simulate a uniform quantizer that takes as a...

simulate a uniform quantizer that takes as an input a vector of numbers and returns as an output the quantized vector. 1-Generate a random input vector of 10000 samples randomly in

Representation of magnetic fields, The direction of the magnetic field line...

The direction of the magnetic field lines is given by 'Maxwell's Right-Hand corkscrew rule'  The thumb of the right hand indicates the direction of current flow in the wire and

Electronic and electrical measurement CRO., Describe the construction and w...

Describe the construction and working of atleast two types of storage CRO

Residential wiring and safety considerations, Q. Residential wiring and saf...

Q. Residential wiring and safety considerations? Residential electric power service commonly consists of a three-wire ac system supplied by the local power company. A distribut

For parity flag - conditional jumps , For parity Flag  JPE ( jump on ...

For parity Flag  JPE ( jump on Parity even ) and  JPO  ( Jump or Parity Odd) Instruction JPE  transfer  the execution of the  program  to the specified memory  address i

Current flow through the channel of a jfet after pinch off, Q. How does cur...

Q. How does current flow through the channel of a JFET after pinch off? It is seen that above the pinch off voltage at a constant value of VDS (saturation drain current, ID inc

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