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

Find the efficiency of the transformer, Q. A three-phase, 600-kVA, 2300:230...

Q. A three-phase, 600-kVA, 2300:230-V,Y-Y trans-former bank has an iron loss of 4400Wand a full-load copper loss of 7600 W. Find the efficiency of the transformer for 70%full load

List the various addressing modes present in 8086, List the various address...

List the various addressing modes present in 8086? There are 12 addressing modes are present in 8086. They are, (a) Register and immediate addressing modes _  Register ad

Compute efficiency of 4 hours full load at 0.8 power factor, Q. A 10-kVA tr...

Q. A 10-kVA transformer is known to have an iron loss of 150 W and a full-load copper loss of 250 W. If the transformer has the following load cycle, compute its all-day efficiency

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

Explain keyboard interfacing to 8088 through 8279, Explain keyboard interfa...

Explain keyboard interfacing to 8088 through 8279 . The 8279 is a programmable keyboard and display interfacing component which scans and encodes up to a 64-key keyboard and con

Explain the neg instruction, Explain the NEG instruction. NEG: Two's c...

Explain the NEG instruction. NEG: Two's complement or arithmetic sign inversion (NEG). The NEG instruction two's complements a number that means that the arithmetic sign of a

Find the speed of the motor, Q. A 10-kW, 230-V shunt generator, with an arm...

Q. A 10-kW, 230-V shunt generator, with an armature-circuit resistance of 0.1  and a field- circuit resistance of 230 , delivers full load at rated voltage and 1000 r/min. If the

Evaluate complex power in power system, Q. Evaluate complex power in power ...

Q. Evaluate complex power in power system? The complex power ¯S in a single-phase systemis the complex sum of the real (P) and reactive (Q) power, expressed as follows:

Measurement, explain a basic measurement system

explain a basic measurement system

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