Write a matlab code to solve the system

Assignment Help Algebra
Reference no: EM13910524

Write a MATLAB code to solve the system Ax=b, by using:

1. classical jacobi 2. Gauss Seidal 3. Successive over relaxation Plot number of iterations vs. residual and number of iterations vs. error

A = [ 5 -2 -0.5 -1.5; -2 5 1.5 -0.5; -0.5 1.5 5 -2; 1.5 -0.5 -2 5]

b = [1;2;3;4]

x=???

 

 

Reference no: EM13910524

Questions Cloud

Reduction of carbon monoxide : Pure iron can be extracted from iron ore, Fe203, from the reduction of carbon monoxide as shown by the following sequence of steps.
With matlab code the arnoldi and lanczos iterations : Solving these questions 1. With MATLAB, code the Arnoldi and Lanczos iterations and use them using matrices of your own choices.
Calculate the child credit for the tax payers : Calculate the child credit for the following tax payers. Jeremy is a single (head of household) father with a dependent 8 yr old son and $79,600 AGI.
Number of moles of all the gases : Given that you know one gas in a mixture of gases has a pressure of .5 atm, and has a mol fraction of .18, what volume will the mixture of gases occupy if the temperature is 390 kelvin, the total number of moles of all the gases combined are 20?
Write a matlab code to solve the system : Write a MATLAB code to solve the system Ax=b, by using: 1. classical jacobi 2. Gauss Seidal 3. Successive over relaxation Plot number of iterations vs. residual and number of iterations vs. error
What are the risks associated with short term debt and why : Discuss the rationale behind a liberal credit policy and its effect on sales and accounts receivable and the advantages and disadvantages of using short term debt.
Differences in the properties of the zn : Compare the similarities and differences in the properties of the zn cu fe elements in their combination with water, hydrochloric acid, and nitric acid. Is this behavior consistent with their relative position in the periodic table?
Step by step process in finding jordan basis and jordan : Let T ∈ L(P3(C)) be the operator T : f(x) → f(x - 1) + x^3f'''(x)/3. can someone help me  with step by step process in finding jordan basis and jordan normal form for T.
Relative position in the periodic table : How are zn, fe, cu alike and how are they different.? What trends do they follow on the periodic table How is their behavior consistent with their relative position in the periodic table.

Reviews

Write a Review

Algebra Questions & Answers

  What would be an appropriate null hypothesis

What is/are the independent variable(s)? What is/are the dependent variable(s)? What would be an appropriate null hypothesis? Alternate hypothesis

  Two laws of exponents

Describe two laws of exponents and provide an example illustrating each law. Explain how to simplify the expression. How do the laws work with rational exponents?

  Show how you can use these to find the general form

D2. Explain the relationship between the x and y intercepts and the general form of a quadratic function. Then demonstrate this relationship in the following:

  Express as a polynomial

Express as a polynomial

  Rational exponents and functions

An application of a rational function is T = (AB)/(A+B), which gives the time, T, it takes for two workers to complete a particular task where A & B represent the time it would take for each individual worker to complete the identical task.

  Conics translations

Conics translations

  Apply the order of operations to solve

Apply the order of operations to solve.

  A triangle has a perimeter of 34 inches the medium side is

a triangle has a perimeter of 34 inches. the medium side is 4 more than the short side and the longest side is 4 times

  Transform the gx function so that the graph is moved 6

we define the following functionsfx2x5 gxx2-3 hx7-x3? compute f - h4.? evaluate the following two compositions fogx and

  Compute the probability

Compute the probability

  Description of forward rate

Use the information below to answer the following questions. (Do not include the dollar signs ($). Round your answers to 4 decimal places, (e.g., 32.1616))

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