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 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.

Explain dielectric current, Dielectric: Insulator that is used among th...

Dielectric: Insulator that is used among the two plates of a capacitance is called as dielectric.  Electric field exists in the dielectric and the flux density depends on th

What are the hardware elements in the embedded systems, What are the hardwa...

What are the hardware elements in the embedded systems? Hardware Elements in the Embedded Systems are as follows: (i) Power Source (ii) Clock Oscillator Circuit and Clock

Compute the starting torque with the starting compen sator, A three-phase, ...

A three-phase, 2200-V, 60-Hz, delta-connected, squirrel-cage induction motor, when started at full rated voltage, takes a starting current of 693 A from the line and develops a sta

Gas hazards in the laboratory, GAS HAZARDS IN THE LABORATORY : As mentione...

GAS HAZARDS IN THE LABORATORY : As mentioned in the introduction of this unit, the gas hazards in a laboratory arise from LPG and other compressed gases. Though the use of gas for

Minimized circuit using or and and not gate, Given S(F) = A'B +'C'D + C'D +...

Given S(F) = A'B +'C'D + C'D +'A'B + 'A B + 'A 'C + 'A D + 'A C A. DRAW A MINIMIZED CIRCUIT USING ONLY OR AND NOT GATES (2 input gates) B. WRITE THE WIRE LIST Example of a

Working design with realistic models, A preliminary design with ideal resis...

A preliminary design with ideal resistors, inductors and capacitors, will get 25 marks. If the design does not meet the specifications then one mark will be deducted following the

Explain biased and double clipper circuits, Q. Explain biased and double c...

Q. Explain biased and double clipper circuits.   Clipper can be either forward biased or reverse biased. If a battery is connected in series with the diode in a positi

What is q-switching in laser, What is Q-switching in laser ? Give its appli...

What is Q-switching in laser ? Give its application. Discuss the elementary idea of mode locking. Generation of high power pulses There are three basic techniques to gene

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