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

Draw the power triangle for each load, Q. Two balanced, wye-connected, thre...

Q. Two balanced, wye-connected, three-phase loads are in parallel across a balanced, three - phase 60- Hz, 208-Vsupply. The first load takes 12 kWat 0.6 power factor lagging, and t

Accidents, what are accidents in an organisation

what are accidents in an organisation

Miller sweep circuit, explain the working of miller sweep circuit using op ...

explain the working of miller sweep circuit using op amp ic

What is balanced budget, Q. What is Balanced Budget? Balanced Budget: A...

Q. What is Balanced Budget? Balanced Budget: An annual budget (like for a government) in that revenues perfectly offset expenditures, so that there is neither a deficit nor a s

Show common signal-processing operations, Q. Show Common signal-processing ...

Q. Show Common signal-processing operations? Common signal-processing operations include the following: • Amplification to compensate for attenuation • Filtering to reduc

Linear and digital ics, write down the application of shift register and ex...

write down the application of shift register and explain it.

How speech is transmitted in digital switching environment, Q. How speech i...

Q. How speech is transmitted in digital switching environment by using PCM/TDM? Ans: A digital carrier system is a communications system which uses digital pulses instead of

Enhance the supply chain, Over 6,000 companies have established operations ...

Over 6,000 companies have established operations within Jebel Ali Free Zone, using it as a base to distribute their products to the GCC countries and beyond. These companies hav

Three phase induction motors - motor control , Three Phase Induction Motors...

Three Phase Induction Motors A three  phase induction rotor  consists  a stators  and a motor stator has balanced three  phase  winding. These windings  are distributed 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