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

Analog signal processing, Derive Equation 13-20 pertaining to the convers...

Derive Equation 13-20 pertaining to the conversion algorithm based on redefined unit capacitor

Characteristics of unijunction transistor, Characteristics of  unijunction...

Characteristics of  unijunction transistor: Characteristics : The static emitter characteristic of UJT at a given inter base voltage VBB in shown in fig. From fig., it is no

Explain the 16-bit registers dptr and sp of 8051, Explain the 16-bit regist...

Explain the 16-bit registers DPTR and SP of 8051. DPTR: DPTR stands for data pointer. DPTR having of a high byte (DPH) and a low byte (DPL). Its function is to hold a 16-b

Write a short note on heat sink, Q. Write a short note on heat sink For...

Q. Write a short note on heat sink For transistors handling small signals ,the power dissipated at the collector is small.Such transistors have little chances of thermal runawa

Determine the bits required for a d/a converter, Q. Determine the bits requ...

Q. Determine the bits required for a D/A converter to detect 1-V change when V ref = 15 V.

Differentiate thermoplastic & thermosetting plastic material, Classify plas...

Classify plastic materials into two categories describe their important properties and give two examples of each. Plastic materials can be categorized in thermoplastic and ther

Guidelines from electricity regulatory commission, Guidelines from Electric...

Guidelines from Electricity Regulatory Commission The electricity companies have successfully adopted the guidelines issued through ERCs Utilities usually set their yearly KP

Calculate the small signal voltage gain, Calculate the Small Signal Voltage...

Calculate the Small Signal Voltage Gain a) Calculate the small signal voltage gain a v = v o /v i , input resistance R i , and output resistance Ro for the circuit below. A

A battery consists of five cells in series, A battery having of five cells ...

A battery having of five cells in series. Each cell is 2.5V and internal resistance is 0.05 Ω. A battery is linked to the load resistance of 15Ω. Verify: i.  Total e.m.f

Semiconductor diode, Semiconductor Diode: the semi conductor diode is ...

Semiconductor Diode: the semi conductor diode is formed by simply bringing n and p tripe material together (constructed from same base ge and si), at the instant the two mater

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