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 numbering plan is achieved in modern telephony, Q. How numbering plan i...

Q. How numbering plan is achieved in modern telephony? Ans: The purpose of numbering plan is to uniquely identify every subscriber connected to a telecommunication network.

Find the current by means of mesh-current analysis, For the network shown i...

For the network shown in Figure, find the current delivered by the 10-V source and the voltage across the 3- resistor by means of mesh-current analysis.

Indicate the condition of the overflow and carry bits, Q. Do the following ...

Q. Do the following operations with 8 bit bytes, and indicate the condition of the overflow and carry bits. a) 10111011 + 00000011 b) 11101101 + 11111001 c) 11011011 + 110

Determine the transformer winding currents, Q. Three single-phase 100-kVA, ...

Q. Three single-phase 100-kVA, 2400:240-V, 60-Hz transformers (each ofwhich has an equivalent series impedance of 0.045+j0.16 referred to its low-voltage side) are connected to fo

Write notes on clamping, Q. Write notes on clamping ? Clamping network ...

Q. Write notes on clamping ? Clamping network shifts (clamps) a signal to a different d.c level, that is it introduces a d.c. level to an a.c signal. Hence, the clamping networ

Stack operation, Stack Operation Stack is a group of memory  locations...

Stack Operation Stack is a group of memory  locations which  are part of the  same read write memory  used for  storing  data  temporarily  during the execution of the  progra

Explain open loop control systems, Explain Open Loop Control Systems In...

Explain Open Loop Control Systems In an open-loop control system, the controller independently computes exact voltage or current required by the actuator to do the job and send

Determine the output voltage increment, (a) Design a 6-bit R-2 R ladder D/A...

(a) Design a 6-bit R-2 R ladder D/A converter. (b) For V ref = 10 V, find the maximum output voltage. (c) Determine the output voltage increment. (d) If the output voltag

The initial discharge current, A 0.1µF capacitor is charged to 200 V before...

A 0.1µF capacitor is charged to 200 V before being connected across a 4 kΩ resistor. Determine: (a)  The initial discharge current (b)  The time constant of the circuit

Show how emitter amplifier work as a buffer amplifier, Q. Due to what speci...

Q. Due to what special property does an emitter amplifier work as a buffer amplifier?  The circuit design of the emitter follower is such that it has a high input impedance and

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