Jacobi Iteration Homework: Solving System of Equations

  • Thread starter Thread starter gtfitzpatrick
  • Start date Start date
  • Tags Tags
    Jacobi
Join the discussion
Registration is free. Ask a follow-up in this thread, or start your own.
1 reply · 2K views
gtfitzpatrick
Messages
372
Reaction score
0

Homework Statement



consider the systems of equations
2x1 - x2 = 1
-31 + 4x2 =11

a) determine the ixact solution?

b)apply jacobi iteration.Does the matrix C satisfy the required condition?

c)starting with x(0) =( [tex]\stackrel{1}{1}[/tex] ) calculate x(1) and x(2) and the prior error bound for x(2)

d)how many iterations will suffice to get within 0.001 of the solution?

a) grand 3 and 5
b) it clearly satisfies the condition as off diagonals < diagonals
c) so did it out got
x(0) = ( [tex]\stackrel{1}{14/4}[/tex] )

x(1) = ( [tex]\stackrel{18/8}{14/4}[/tex] )

x(2) = ( [tex]\stackrel{18/8}{71/16}[/tex] )

but now I am not sure what is meant by prior error bound, compare with the actual error?

d) do i just keep doing it out till i get within .001? (aghhhhh)
 
Physics news on Phys.org
but now I am not sure what is meant by prior error bound, compare with the actual error?

It's the error estimate that can be obtained before the actual iteration's calculus. There's an expression for it in terms of the matrixes.

do i just keep doing it out till i get within .001?

No. You use the expression for the a priori error (it depends on n) to find n.