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

Role of erc - salient features of nep, Role of ERCs: A National Elect...

Role of ERCs: A National Electricity Policy is one of the key instruments for providing policy guidance to the Electricity Regulatory Commissions in discharge of their functio

Asic based new product development project, Assume you are working for an S...

Assume you are working for an SME operating in the microelectronics sector. You are required to plan a new product development project. This is an internal project, so it does not

Find kfm for the modulator using carsons rule, Q. A commercial FMstation br...

Q. A commercial FMstation broadcasts a signal with 180-kHz bandwidth when |f(t)|max = 2 V. Find kFM for the modulator if the spectral extent of f (t) is 30 kHz, by using Carson's r

Give an example of one address microprocessor, 8085 is a one address microp...

8085 is a one address microprocessor. In 8085 interrupts are classified by hardware and software interupts.

Find resistance when the bridge is balanced, Q. Consider the bridge circuit...

Q. Consider the bridge circuit given in Figure with R 1 = 24 k, R 2 = 48 k, and R 3 = 10 k. Find R when the bridge is balanced with V = 0.

Digital modulation using matlab, hi I want the code of digital modulation i...

hi I want the code of digital modulation in matlab with inputs binary bit stream and M-ar

A, A microstrip antenna system operating at 915MHz must be designed using R...

A microstrip antenna system operating at 915MHz must be designed using Rogers RO3010 substrate with the thickness of 0.635mm.

Sparking with electrical equipment, Sparking : In ordinary domestic situat...

Sparking : In ordinary domestic situations, small electrical sparks are usually not hazardous. In certain conditions which are frequently encountered in science labs, even the sma

OUT Output Instruction , OUT Output Instruction This instruction is us...

OUT Output Instruction This instruction is used  send data byte  stored in the accumulator  to the  output  port  whose  address  specified in the instruction. The instruction

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