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

Binary to octal conversion, Binary  to Octal Conversion To convert a b...

Binary  to Octal Conversion To convert a binary  number into octal  divide the number into  group  of three  bits each  starting from the least significant bit. Then put equiva

Explain the working of depletion mosfet, Q. Explain the working of depletio...

Q. Explain the working of depletion MOSFET ? The gate voltage can control the resistance of the n-channel but as the gate is insulated from the channel, we can apply either a p

Bias compensation, How is bias compensation in transistor is done using the...

How is bias compensation in transistor is done using thermistors and sensistor

Determine the output voltage, Q. In a differentiating circuit, R=10 kW,and ...

Q. In a differentiating circuit, R=10 kW,and C=2.2μF.If the input voltage goes from 0V to 10 V at a constant rate in 0.4s, determine the output voltage. Solution: e 0 =

Bureau of energy efficiency, Bureau of Energy Efficiency Setting up o...

Bureau of Energy Efficiency Setting up of the Bureau of Energy Efficiency The Bureau of Energy Efficiency has been established with effect from 1st March, 2002 under the

Describing the steady state effect , Select the response describing the ste...

Select the response describing the steady state effect of increasing the air gap for otherwise identical devices, one operating with constant DC voltage excitation and one with con

What is a positive clipper and explain its working, Q. What is a positive c...

Q. What is a positive clipper? Explain its action with the help of a circuit. A positive clipper is the circuit which is used to cut off the positive half cycle. The circuit wi

Superposition Theorem, Help using superpositions find voltage across all re...

Help using superpositions find voltage across all resistor

Show how a 16-to-1 multiplexer implement the logic function, Q. Show how a ...

Q. Show how a 16-to-1 multiplexer can be used to implement the logic function described by the following truth table.

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