Build your own method for solving the linear system

Assignment Help MATLAB Programming
Reference no: EM131890995

In Homework, you have solved the following linear system using the Jacobi and Gauss-Seidel methods:

5x1 - 2x2 + 3xn = -1

-3x1 + 9X2 + xn = 2

2x1 - x2 - 7xn = 3

The details of both methods are included below for reference.

Both methods, Jacobi and Gauss-Seidel, were developed using the general schema for iteration methods. The logic is based on selecting the matrices N and P, for both methods.

Using the same logic, use the described general schema to build your own method for solving the given linear system. Implement your algorithm and then compare results with the Jacobi and Gauss-Seidel techniques (you already have the algorithms from HW2).

Comment on convergence speed and accuracy and discuss the reasons that make your technique better or worse than the Jacobi and Gauss-Seidel methods.

Reference no: EM131890995

Questions Cloud

What is the profitability index of the investment : You are offered an investment with returns of $ 1,184 in year 1, $ 3,447 in year 2, what is the Profitability Index of the investment?
What is the amount of cash that buyer pays the seller : A sales invoice included the following information: merchandise price, $68,000; what is the amount of cash that buyer pays the seller
How can we fix a moral hazard problem using debt : How can we fix a moral hazard problem using debt? What if marketable debt (issuing bonds) doesn't provide enough monitoring or bonding to fix the problem?
Describe the market placement of your product : Describe the market placement of your product. This can be integrated into your pricing strategy argument.
Build your own method for solving the linear system : Use the described general schema to build your own method for solving the given linear system. Implement your algorithm and then compare results
Vanderbilt afford to pay today for refinancing charges : how much can Mrs Vanderbilt afford to pay today for refinancing charges?
Determine the company cost of capital : 1) What would be the proper calculation to find the company's debt/equity ratio. 2) Determine the company's cost of capital.
What is your portfolio standard deviation : Stock X has a standard deviation of 21 percent per year and stock Y has a standard deviation of 6 percent per year. What is your portfolio standard deviation?
What is the most you would pay for this bond : Your opportunity cost of invested funds is 13.0%. What is the most you would pay for this bond?

Reviews

Write a Review

MATLAB Programming Questions & Answers

  Develop a well-structured function

Develop a well-structured function to compute v as a function of t. Then use this function to generate a table of v versus t for t = -5 to 50 at increments of 0.5.

  Does technology influence gambling

Can you conclude that online gambling is more prevalent among individuals who are under the age of 30 at a level of significance of 0.05?

  Construct a commutated dc motor to drive a load

Construct a commutated DC motor to drive a load, simulated by a generator placed on the output shaft of your motor. You may use any readily available materials - characteristic for the different field densities created by the different permanent ma..

  Finds the largest integer in the list recursively

Write a program that, given a list of 20 integers, finds the largest integer in the list recursively

  Hi i attached the instructions would you guys do it by 50

i attached the instructions. ltbrgt ltbrgtwould you guys do it by 50 dollars ? ltbrgt ltbrgtit is due this friday

  An image histogram for a color image

goal is to build an image histogram for a color image based on its 6-bit color code.

  Simulate rigid body mechanics

Write a MATLAB code to simulate rigid body mechanics. Create a video file of a free falling rod. Neglect effects from drag or loss of kinetic energy. Make sure the rod falls onto one end showing how the rigid body reacts to hitting the ground. Cannot..

  How do you create a new script or function in matlab

What is the difference between a script and function. How do you create a new script or function in MATLAB

  Plotting the function codes in matlab

Now I did this code (the main code is codeJJ2.m) the other are function codes Now, In the main code We have S=3 which plot N1, N2, N3, N4 together

  T prints out, on a clear screen, a table of temperatures

Create a MATLAB program (utilizing a temp-conversion function) that prints out, on a clear screen, a table of temperatures.

  Determine the inputs, outputs, relevant formulas

determine the inputs, outputs, relevant formulas

  Analyze the matlab program and write a report about it

Analyze the Matlab program and write a report about it ( if some inputs change , what happens to the outputs? ) . it is about the power spectral energy.

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