Ecse 543 numerical methods in electrical engineering

Assignment Help Other Engineering
Reference no: EM133009522

ECSE 543 Numerical Methods in Electrical Engineering - McGill University

Question 1. (a) Write a program to solve the matrix equation Ax=b by Choleski decomposition. A is a real, symmetric, positive-definite matrix of order n.

(b) Construct some small matrices (n = 2, 3, 4, or 5) to test the program. Remember that the matrices must be real, symmetric and positive-definite. Explain how you chose the matrices.

(c) Test the program you wrote in (a) with each small matrix you built in (b) in the following way: invent an x, multiply it by A to get b, then give A and b to your program and check that it returns x correctly.

(d) Write a program that reads from a file a list of network branches (Jk, Rk, Ek) and a reduced incidence matrix, and finds the voltages at the nodes of the network. Use the code from part (a) to solve the matrix problem. Explain how the data is organized and read from the file. Test the program with a few small networks that you can check by hand. Compare the results for your test circuits with the analytical results you obtained by hand. Cleary specify each of the test circuits used with a labeled schematic diagram.

Question 2. Take a regular N by 2N finite-difference mesh and replace each horizontal and vertical line by a 1 kΩ resistor. This forms a linear, resistive network.

(a) Using the program you developed in question 1, find the resistance, R, between the node at the bottom left corner of the mesh and the node at the top right corner of the mesh, for N = 2, 3, ..., 10. (You will probably want to write a small program that generates the input file needed by the network analysis program. Constructing by hand the incidence matrix for a 200-node network is rather tedious).

(b) In theory, how does the computer time taken to solve this problem increase with N, for large N? Are the timings you observe for your practical implementation consistent with this? Explain your observations.

(c) Modify your program to exploit the sparse nature of the matrices to save computation time. What is the half-bandwidth b of your matrices? In theory, how does the computer time taken to solve this problem increase now with N, for large N? Are the timings you for your practical sparse implementation consistent with this? Explain your observations.

(d) Plot a graph of R versus N. Find a function R(N) that fits the curve reasonably well and is asymptotically correct as N tends to infinity, as far as you can tell.

Question 3. Figure 1 shows the cross-section of an electrostatic problem with translational symmetry: a coaxial cable with a square outer conductor and a rectangular inner conductor. The inner conductor is held at 15 volts and the outer conductor is grounded.

323_figure.jpg

Figure 1.

(a) Write a computer program to find the potential at the nodes of a regular mesh in the air between the conductors by the method of finite differences. Use a five-point difference formula. Exploit at least one of the planes of mirror symmetry that this problem has. Use an equal node-spacing, h, in the x and y directions. Solve the matrix equation by successive over-relaxation (SOR), with SOR parameter ω. Terminate the iteration when the magnitude of the residual at each free node is less than 10-5.

(b) With h = 0.02, explore the effect of varying ω. For 10 values of ω between 1.0 and 2.0, tabulate the number of iterations taken to achieve convergence, and the corresponding value of potential at the point (x ,y) = (0.06, 0.04). Plot a graph of number of iterations versus ω.

(c) With an appropriate value of ω, chosen from the above experiment, explore the effect of decreasing h on the potential. Use values of h = 0.02, 0.01, 0.005, etc, and both tabulate and plot the corresponding values of potential at (x, y) = (0.06, 0.04) versus 1/h. What do you think is the potential at (0.06, 0.04), to three significant figures? Also, tabulate and plot the number of iterations versus 1/h. Comment on the properties of both plots.

(d) Use the Jacobi method to solve this problem for the same values of h used in part (c). Tabulate and plot the values of the potential at (x, y) = (0.06, 0.04) versus 1/h and the number of iterations versus 1/h. Comment on the properties of both plots and compare to those of SOR.

(e) Modify the program you wrote in part (a) to use the five-point difference formula derived in class for non-uniform node spacing. An alternative to using equal node spacing, h, is to use smaller node spacing in more "difficult" parts of the problem domain. Experiment with a scheme of this kind and see how accurately you can compute the value of the potential at (x, y) = (0.06, 0.04) using only as many nodes as for the uniform case h = 0.01 in part (c).

Reference no: EM133009522

Questions Cloud

Incorporate checking and monitoring goal progress : How would you describe the benefits of creating SMART goals to a recent high school graduate who is about to start college?
Environmental challenges for hr : What do you think are some of the most important environmental challenges for HR today and why? You can focus on a general issue or something specific to your w
Explain learning or training designer : Reflect on a time when you used technology--in the workplace, in school, at home--to learn something new or to help you perform a task.
What is the amount of gain recognized by wei : Target Corporation holds assets with a fair market value. What is the amount of gain (loss) recognized by Wei, Target, and Acquiring on the reorganization?
Ecse 543 numerical methods in electrical engineering : ECSE 543 Numerical Methods in Electrical Engineering Assignment Help and Solution, McGill University - Assessment Writing Service
Expect a potential candidate to provide : Organizations may have developed a detailed interview process with standard questions for each position, pre-employment assessments, and other selection tools.
How much money would need to invest in b today : You have your choice of two investment accounts.How much money would you need to invest in B today for it to be worth as much as Investment A 14 years from now?
What are some of the other systems in use today : The DuPont method is one of many hybrid systems for analysis that have been developed. What are some of the other systems in use today?
Find what is the value at date of a perpetual stream : Given an interest rate of 6.7 percent per year, what is the value at date tt = 7 of a perpetual stream of $3,100 annual payments that begins at date = 15?

Reviews

Write a Review

Other Engineering Questions & Answers

  Write a vhdl module for a 4-bit up-down counter

Write a VHDL module for a 4-bit up-down counter. If En = o, the counter will hold its state.If En = 1, the counter will count up if U = 1 or down if U = o. The counter should also have an asynchronous active-low clear signal ClrN.

  Determine the discharge available in the 100-m-long gallery

The coefficient of permeability is 0.31 m/day and the radius of influence of the well at that discharge is l000 m Determine and plot the drawdown curve for the well.

  Discuss osha for hierarchy of controls for reducing risks

Summarize the positive and negative attributes of the control method you chose, and suggest the difficulties one might expect to encounter

  What are biggest concerns about consuming the foods

Should you be concerned if you knew that you were eating food grown in an areas that is contaminated with air pollutants? What are your biggest concerns

  Describe the principle of using transmission lines

Describe the principle of using transmission lines on PCBs - Commercial surge protection identifies three distinct zones with differing surge exposure

  Define entrepreneurship

Define "entrepreneurship" and in your opinion the greatest obstacle for entrepreneurs to be sucessful?

  Question regarding the relative humidity

A horizontal pipe 10 inches in diameter is covered with an inch of insulation that is 36% voids. The insulation has been soaked with water. The pipe is now drying slowly and hence almost isothermally in 80 °F air that has a relative humidity of ab..

  CIVL 651 Remote Sensing with Civil Engineering Assignment

CIVL 651 Remote Sensing with Civil Engineering and Environmental Science Assignment help and solution, Loyola Marymount University - assessment writing service

  Compute the strains in the laminate

Given ε0x= ε0y =γ0xy, = 0 and κx = 1.0 m-1 , κy = 0.5 m-1 , κxy = 0.25 m-1 , compute the strains (in laminate coordinates) at z = -1.27 mm in the laminate of Exercise 2.

  Contrast and compare the auto with the norm triggering mode

ECE 3200- Contrast and compare the AUTO with NORM triggering mode. Define, discuss, and explain differences between precision, accuracy, resolution, sensitivity, and range as they pertain to measurements or measuring instruments.

  Why did include code of ethics of the ten elements

Why is a Code of Ethics an important part of every business from an employee standpoint? Why did include Code of Ethics of the ten elements

  Design of an FMCW radar baseband signal processing system

Question - Design of an FMCW radar baseband signal processing system for automotive application

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