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 modulation and sampling, Q. Explain Modulation and sampling? Mo...

Q. Explain Modulation and sampling? Modulation is the process whereby the amplitude (or another characteristic) of a wave is varied as a function of the instantaneous value of

Find the effective area of a half-wave dipole, Q. The effective area of a d...

Q. The effective area of a dipole is given by A e =0.13λ 2 . Find the effective area of a half-wave dipole at 3 GHz.

Find the initial and final values of the armature current, Q. A 7.5-hp, 250...

Q. A 7.5-hp, 250-V, 1800-r/min shuntmotor, having a full-load line current of 26 A, is started with a four-point starter. The resistance of the armature circuit, including the inte

Electronics, what is the difference between half &full wave rectifier

what is the difference between half &full wave rectifier

Draw and explain the block diagram of dma controller, Draw and explain the ...

Draw and explain the block diagram of DMA controller. The fundamental idea of DMA is to transfer blocks of data directly between peripherals and memory. The data don't suffer t

Define branch prediction logic in pentium, Define branch prediction logic i...

Define branch prediction logic in Pentium. Branch prediction logic in Pentium: The Pentium microprocessor utilizes branch prediction logic to decrease the time required for a

MR, how to design a single phase distribution circuit from a supply point t...

how to design a single phase distribution circuit from a supply point to a load(lights)

What is asynchronous data transfer, What is asynchronous data transfer? ...

What is asynchronous data transfer? It is a data transfer method which is used when the speed of an I/O device does not match with the speed of the microprocessor. Asynchronous

Concept of flux density, We can illustrate the direction and strength of a ...

We can illustrate the direction and strength of a magnetic field by means of drawing 'flux lines'. These have arrows to show the direction of the magnetic field at any point and th

Sinusoidal steady-state phasor analysis, Q. Sinusoidal steady-state phasor ...

Q. Sinusoidal steady-state phasor analysis? The kind of response of a physical system in an applied excitation depends in general on the type of excitation, the elements in the

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