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

3phase unbalanced load flow, under three phase 4 wire load unbalanced distr...

under three phase 4 wire load unbalanced distribution network how to calacualte the voltage across the load when no load resistance is specified, however the real and reactive powe

Explain the usage of the output ports , Objective: To Understand the Usage ...

Objective: To Understand the Usage of the Output ports of PIC18F452 and make changes in the previous code accordingly. Procedure: 1. Open the p1.asm program from t

Electrical machine -i, What are the causes of sparking in the commutator? E...

What are the causes of sparking in the commutator? Explain the methods to reduce the sparking in the commutator?

Sequential diagram, 1) Draw the state diagram for the state machine describ...

1) Draw the state diagram for the state machine described by Table 7.5 in the text. Note, the table shows the transition to the next state S* from the current state S for the next

What are shift registers - sequential logic circuit, What are Shift Registe...

What are Shift Registers - Sequential Logic Circuit? The Shift registers are a type of sequential logic circuit that mainly for storage of digital data and they are a group of

Illustrate the internal architecture of 8085, Microprocessor 1. Write a...

Microprocessor 1. Write an assembly language program to find the highest among two numbers. 2. Draw and illustrate the internal architecture of 8085 briefly. 3. What is t

Congestion, It is uneconomic to provide adequate equipment to carry all the...

It is uneconomic to provide adequate equipment to carry all the traffic which could possibly be offered to a telecommunication system. In a telephone exchange it's theoretically po

Briefly explain the principle and operation of strain gauges, Question: ...

Question: (a) With the help of a clearly labeled diagram explain the functioning of a basic thermocouple. (b) Briefly explain the principle and operation of strain gauges

Points of verification, Points of Verification of Connection i) Phase...

Points of Verification of Connection i) Phase association ii) CT polarity iii) VT polarity iv) Phase angles v)  Phase sequence vi) System conditions - unbalanc

#t voice controlled mobile base, The aim of this project is to design, co...

The aim of this project is to design, construct and build a motorised base driven by two small dc motors. The motor drives are two H-bridges. The switching devices in these bridges

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