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

Define the objectives of load flow analysis, Define the Objectives of Load ...

Define the Objectives of Load Flow Analysis The objectives of load flow analysis are: (i) To analyse an existing power system, future expansion or a new power system plan.

What are shift register counters, What are Shift Register Counters? Two...

What are Shift Register Counters? Two of the main common types of shift register counters are the Ring counter and the Johnson counter and They are basically shift registers wi

Accounting, I need the solutions for this assignment

I need the solutions for this assignment

Adc instruction, ADC   Instruction This instruction is used to add th...

ADC   Instruction This instruction is used to add the contents of any register of any register  memory location and carry  flag with the  contents of accumulator  and result  i

Standard deviation of mean, For large number of measurements the mean is ca...

For large number of measurements the mean is calculated by taking a sample. Each sample that is taken has a mean. The mean of various sample difference from sample and are known to

Determine the magnetic flux, Determine the magnetic flux: A coil is wo...

Determine the magnetic flux: A coil is wound uniformly with 300 turns over a steel ring of relative permeability 900, with a mean circumference of 40mm and cross-sectional are

Calculate the power transferred across the air gap, A three-phase, 5-hp, 22...

A three-phase, 5-hp, 220-V, six-pole, 60-Hz in- duction motor runs at a slip of 0.025 at full load. Rotational and stray-load losses at full load are 5% of the output power. Calcul

Power electronics, A step-down transformer has primary turns Np = 100; seco...

A step-down transformer has primary turns Np = 100; secondary turns Ns = 10; primary winding resistanceRp = 100 ?; secondary winding resistance Rs = 2 ?. Assume that there is no l

Why digital signal processing require specialized hardware, Why does digita...

Why does digital signal processing require specialized hardware? A) It needs to perform analog as well as digital functions. B) General-purpose microprocessors cannot perfor

Transmission - salient features of nep, Transmission: The policy empha...

Transmission: The policy emphasizes in which adequate and timely investment along within efficient and coordinated operation is essential for developing a robust and integrate

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