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

How dram’s are different from sram’s, How DRAM's are different from SRAM's?...

How DRAM's are different from SRAM's? Why DRAMs are said to use address multiplexing? Ans Dynamic RAM (DRAM) is basically the same as SRAM except that it recollects data f

Dual trace and dual beam cro, what is difference between dual trace and dua...

what is difference between dual trace and dual beam cro?

Determine the antennas radiated power, Q. A transmitter is connected to an ...

Q. A transmitter is connected to an antenna by a transmission line for which ¯ Z 0 = R 0 = 5 0 . The transmitter source impedance is matched to the line, but the antenna is kno

Assmblly language, hi PA DS:1234 = AB PA DS:1235 = CD if i typed mov DX,[...

hi PA DS:1234 = AB PA DS:1235 = CD if i typed mov DX,[1234H] WHAT SHOULD I GET IN DX ?

What is meant by blanking, a. Explain the following terms: (6) (i) Persi...

a. Explain the following terms: (6) (i) Persistence of vision (ii) Flicker in motion pictures b. What is meant by blanking? What is the need of blanking pulses? Compare th

Sketch the phasor diagram of the voltage, Q. The line-to-line voltage of a ...

Q. The line-to-line voltage of a balanced wye connected three-phase source is given as 100 V. Choose V AB as the reference. (a) For the phase sequence A-B-C, sketch the phasor

Dad double add instruction , DAD Double Add Instruction The contents o...

DAD Double Add Instruction The contents of register  R P are added  to the  contents  of HL register pair  and results of addition is stored  in HL register pair. R P   may b

Compute the signal-to-noise ratio, Q. (a) An ampli?er with F 0 = 3 or 4.77...

Q. (a) An ampli?er with F 0 = 3 or 4.77 dB, f 0 = 4 GHz, and BN = 14 MHz is used with an antenna forwhich T a =200K. The connecting path loss is 1.45, or 1.61 dB at a physical t

What do you mean by pinch off voltage, Q. What do you mean by Pinch off vol...

Q. What do you mean by Pinch off voltage? As the voltage Vds is increased from 0 to a few volts, the drain current will increase as  determined by Ohm's law and the plot of Id

Integrator circuit, Q. Addition and integration can be combined by the summ...

Q. Addition and integration can be combined by the summing integrator circuit shown in Figure. With the given component values and input waveforms, sketch v o when S is opened at

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