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

Explain the architecture of cellular networks, Wireless and Mobile Communic...

Wireless and Mobile Communication 1. Explain the architecture of Cellular Networks. 2. Discuss the fundamentals of GSM Network. 3. Explain briefly the different interface

Identify the processes involved in fabrication, The first three elements of...

The first three elements of the task are: 1. To critically examine a selection of the components used on this design 2. To recommend materials to be used in making the board

Explain the types of power plants, Draw layout of hydro-electric power plan...

Draw layout of hydro-electric power plant and illustrate it briefly. Explain the following: a. Types of power plants b. Selection of power Plants

Advantages and disadvantages of rc coupled amplifier, Q. Advantages and Dis...

Q. Advantages and Disadvantages of rc coupled amplifier? Advantages 1. Aids excellent frequency response.The gain is constant over the audio frequency range 2. It has l

Why 8085 processor is called an 8 bit processor, 8085 processor has 8 bit A...

8085 processor has 8 bit ALU (Arithmetic Logic Review). Likewise 8086 processor has 16 bit ALU.

Discuss the foreign exchange market equilibrium, Q. To answer the following...

Q. To answer the following question, please refer to the figure below. Concentrating only at the upper right quadrant, discuss the foreign exchange market equilibrium. Answer:

Encoder - introduction to microprocessors , Encoder The encoder is a...

Encoder The encoder is a logic  circuit  which  provides  the binary code is  output  for each input each input signal. In  other words  we can  say that it performs  just  op

Increment contents of register - inr instruction , Increment contents of Re...

Increment contents of Register Content  of register  are   incremented  by one and the  results  is stored  in the same  register R. It is an exceptional  case in which  accumu

Explain total internal reflection, Explain Total internal reflection? T...

Explain Total internal reflection? The refractive index of a medium is defined as the ratio of velocity of light in vacuum to the velocity of light in that medium n x = C/V

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