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 idss, Q. What is Idss. What are the conditions for its maximum valu...

Q. What is Idss. What are the conditions for its maximum value? The term 'Idss' refers to saturation condition of the Drain current. From the above graph it's clear that as the

Types of sweeps, There are four basic types of sweeps: (a)             ...

There are four basic types of sweeps: (a)                                Free Running or Recurrent Sweep: in the free running or recurrent sweep, the sawtooth waveform is re

Accounting, I need the solutions for this assignment

I need the solutions for this assignment

Electronic monitor and alarm system for an oil separator, This assignment i...

This assignment is to develop a User Requirements Specification for an electronic monitor and alarm system for an Oil Separator in Surface Water Drainage Systems. These separato

Jfet, JFET The JFET (junction gate field-effect transistor) is a ...

JFET The JFET (junction gate field-effect transistor) is a long channel of semiconductor material, doped to consist of abundance of positive charge carriers (p-type), or

Electromechanical meters, Electromechanical Meters Electromechanical e...

Electromechanical Meters Electromechanical energy meters are based on the Ferraris Principle (see note in the margin). The working of these meters is explained. Working o

Exponentially weighted moving average, 1. The Excel file contains daily clo...

1. The Excel file contains daily closes for the S&P/TSX composite index from January 2, 2008 to December 31, 2010. Assuming that December 31, 2010 is the current day. A) Using the

Show equivalent circuit of a synchronous machine, Equivalent Circuit of a S...

Equivalent Circuit of a Synchronous Machine A review of the material about elementary synchronous machines is very helpful at this stage to recall the principles of operation f

Direct and indirect semiconductors, Direct and Indirect Semiconductors ...

Direct and Indirect Semiconductors 1) In a common quantitative calculation of band structures, the wave function of a single electron traveling by a perfectly periodic lattice

Switching characteristics during turn off, Switching Characteristics During...

Switching Characteristics During Turn off The techniques  used for turning off a thyristor is known  as  commutation techniques. A  thyristor can be can be  turn off by reducin

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