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

Saturation and cutoff in bipolar junction transistor, Saturation and Cutoff...

Saturation and Cutoff in bipolar junction transistor: Saturation : With both of the junctions forward-biased, a BJT is in saturation mode and makes easy high current condu

Energy band diagram, E n e r gy Band Diagram Energy band d...

E n e r gy Band Diagram Energy band diagram in qualitative form is sketched by following the following process: 1. The semiconductor device is supposed to be ma

Engine management systems for ic engines, In continuation of Part-B, the st...

In continuation of Part-B, the student is required to configure an engine management system for the proposed engine and produce a report including the following: A preamble

Analysis of semiconductor devices, Analysis of Semiconductor Devices T...

Analysis of Semiconductor Devices There are two complementary techniques of studying semiconductor devices: Via numerical simulation of the semiconductor equation

Metering standards, Metering Standards Relevant standards on metering ...

Metering Standards Relevant standards on metering are given in Table. Table: Relevant Metering Standards  Standards Description

Electricity and gas hazards, Electricity beyond doubt is very useful and es...

Electricity beyond doubt is very useful and essential for us; but if dealt with carelessly, it can prove to be very fatal. It is compulsory for a laboratory assistant to be sure of

Determine the total power in balanced delta-connected load, Q. Two wattmete...

Q. Two wattmeters are used, as shown in Figure, to measure the power absorbed by a balanced delta-connected load. Determine the total power in kW, the power factor, and the per-pha

How a nand gate decoder is used for 2716 eprom memory, With neat diagram in...

With neat diagram indicate how a simple NAND gate decoder is used to select a 2716 EPROM memory component for memory locations FF800H-FFFFFH. Simple NAND gate Decoder: As the 2

Explain the or gates - microprocessor, Explain the OR Gates - microprocesso...

Explain the OR Gates - microprocessor? The OR GATE has high or logic 1 output if any of the inputs are high. The output Q is true if input A OR input B is true (or both of t

Explain working of inverting amplifier, Q. Explain working of Inverting Amp...

Q. Explain working of Inverting Amplifier? One common op-amp circuit is shown in Figure. For the case of finite voltage gain Ao of an op amp that is otherwise ideal, the output

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