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

Digital electronics, Design a recycling MOD 19 up counter using JK FFs. In ...

Design a recycling MOD 19 up counter using JK FFs. In your design, include the logic circuit diagram and the timing diagram output that counts from 000002 = 010 to 100112 = 1910. C

Help needed in degree project, i have to design a project title "Edge deter...

i have to design a project title "Edge determining techniques for Low quality images in different lighting conditions and we use matlab for images simulation by changing different

How many simultaneous calls can be made during peak time, Q. In a hundred-...

Q. In a hundred-line exchange 24 two-motion selectors are used. Draw schematic you suggest for this exchange and illustrate its working. How many simultaneous calls can be made du

Mode 1 - boost converter, Mode 1 In this mode  transistor Q gets turne...

Mode 1 In this mode  transistor Q gets turned on by the positive output  of the PWM. After  that current  flows  through  inductor L  transistor Q then back  to supply  in thi

Explain the electrical contact materials with examples, Explain the electri...

Explain the electrical contact materials with examples. Electrical contact materials: A number of elements in their pure form as copper, nickel, palladium, molybdenum, platin

Explain magnetic property of ferromagnetic materials, The critical temperat...

The critical temperature above which the ferromagnetic materials lose their magnetic property is known as (A) Hysteresis.                                   (B) Curie point.

Illustrate the principle of alignment, Q. Illustrate the principle of align...

Q. Illustrate the principle of alignment? Pieces of highly permeablematerial, such as iron, situated in ambientmediumof lowpermeability, such as air, in which a magnetic field

Define multiple inputs - control system, Define Multiple Inputs - Control S...

Define Multiple Inputs - Control System When there is much more than one input to a system, the superposition principle can be employed. This is that: The response to variou

Basic operations of 8085 microprocessor , Basic Operations of 8085 Micropro...

Basic Operations of 8085 Microprocessor The 8085 microprocessor  performs followings  five  basic  operations . 1. Opcode Fetch :  Reading and decoding  operation code  of

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