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

  Finite difference method

Use the finite difference method to calculate the temperature at the point specified since it is easier.

  Determine the necessary shell temperature

In a shell-and-tube heat exchanger, one fluid passes through a central tube while another fluid flows through an outer shell in the opposite direction. The purpose is to heat the fluid passing through the central tube.

  Find the integral of a function at an arbitrary location

Write a Matlab function to perform numerical integration of a set of evenly spaced data points using the trapezoidal rule

  Compute the speed of single-stage planetary gear train

Write a MATLAB function [speed] = planetary (N, emesh, first, last, arm) that computes the speed of a given link in a single-stage planetary gear train.

  Calculate and plot the error in the numerical derivative

Write a program to calculate and plot the error in the numerical estimate of the derivative.

  Create the graph using matlab functions

Create the graph, which contains a piecewise function where a line exists in the first interval, a parabola in the second interval, and the sine function in the third interval.

  Develop a simulation program

Develop a simulation program

  Create a vector in matlab

Create a three dimensional diagram of function.

  Open a named pipe and to read data from the pipe

Open a named pipe and to read data from the pipe in matlab

  Write the commands that will create the matrix

Write the commands that will create the matrix.

  Lagrange interpolating polynomial of degree

Lagrange interpolating polynomial of degree

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