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

What is work-sharing constructs, Q. What is Work-Sharing Constructs? A ...

Q. What is Work-Sharing Constructs? A work-sharing construct distributes execution of associated region amongst the members of team which encounters it. A work-sharing construc

Power, what is reactivecpower

what is reactivecpower

Calculate the guage pressure, Questions: Part (a) A compressor inst...

Questions: Part (a) A compressor installed at a wharf (for loading container ships) is able to provide 6 bar.g pressure into the pressure receiver. The compressor is moved

Factors affecting high commercial losses, Factors Affecting High Commercial...

Factors Affecting High Commercial Losses Commercial losses in our country occur mainly because of the following reasons: Incorrect assessment of the energy consum

Construction of inductor, Construction of inductor An inductor is usual...

Construction of inductor An inductor is usually constructed as a coil of conducting material, typically opper wire, wrapped around a core either of air or ferrous material.

Types of field-effect transistors, Types of Field-Effect Transistors T...

Types of Field-Effect Transistors The channel of a FET (field-effect transistor) is doped to produce either an N-type semiconductor or a P-type semiconductor. The drain and so

Explain ferrimagnetic magnetic materials, Explain Ferrimagnetic magnetic ma...

Explain Ferrimagnetic magnetic materials. Ferrimagnetic Materials: In such materials unequal magnetic dipoles are lined up anti-parallel to each other. And permeabilities are

Explain the energy bands in solids, Explain the energy bands in solids. ...

Explain the energy bands in solids. There are as several energy bands in a solid as there are energy levels in the parent atoms. Many electrical properties of significance

Product of two sinsoids, Connect the two signals used in section 2 above to...

Connect the two signals used in section 2 above to the "Multiplier" module. Make sure that you record the amplitude of each signal. Observe and record the resultant waveform in

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