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

Determine dielectric materials are which type of materials, Dielectric mate...

Dielectric materials are (A) Insulating materials.        (B) Semiconducting materials. (C) Magnetic materials.         (D) Ferroelectric materials. Ans:

Find the total core loss, Q. Ac measurements with constant voltage amplitud...

Q. Ac measurements with constant voltage amplitude reveal that the total core loss of a certain magnetic circuit is 10 W at f = 50 Hz, and 13 Wat f = 60 Hz. Find the total core los

Explain the meaning of ring counters, Explain the meaning of Ring Counters?...

Explain the meaning of Ring Counters? A ring counter is fundamentally a circulating shift register in which the output of the most significant stage is fed back to the input of

Find the expressions for the capacitor voltage, Consider the RC circuit of ...

Consider the RC circuit of Figure (a) with R = 2 ,C = 5F,and i(t) = I = 10 A (a dc current source). Find the expressions for the capacitor voltage vC(t) and the capacitor current

Electrical fault which might occur in a circuit, Question 1: (a) Descri...

Question 1: (a) Describe the three main types of electrical fault which might occur in a circuit. (b) What is three phase electric power? Give its advantages. (c) Explain th

Grey code to excess 3 using nand gates, I need to do this experiment. Can a...

I need to do this experiment. Can anyone help me out doing this

Cross section of nmos with channel formed: on state, Cross Section of NMOS ...

Cross Section of NMOS with Channel Formed: ON state A metal-oxide-semiconductor field-effect transistor (MOSFET) is based upon the modulation of charge concentration through a

D.c.machines, can voltage regulation be negative?why?

can voltage regulation be negative?why?

Define wireless communications, Q. Define wireless communications? The ...

Q. Define wireless communications? The latest wireless communications technology is the personal satellite phone. The coverage is planetary and one can reach anywhere on earth.

Explain limit signal spectrum to prevent aliasing, Explain Limit Signal Spe...

Explain Limit Signal Spectrum to Prevent Aliasing? The sampling frequency should at least be two times that of the highest frequency in the incoming signal to avoid aliasing. T

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