Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Example: (Programming) Avec(u)=vec(b) [[4,-1,0,-1,0,0,0,0,0,4,-1,0,-1,0,0,0,0 0,-1,4,0,0,-1,0,0,0 -1,0,0,4,-1,0,-1,0,0 0,-1,0,-1,4,-1,0,-1,0 0,0,-1,0,-1,4,0,0,-1 0,0,0,-1,0,0,4,-1,0 0,0,0,0,-1,0,-1,4,-1 0,0,0,0,0,-1,0,-1,4]] 0 0 0 0 0 -1 0 -1[[(u_(1,1))]] u_(2,1) u_(3,1) u_(1,2) u_(2,2) u_(3,2)
Example: (Programming)\
Avec(u)=vec(b)
\
[[4,-1,0,-1,0,0,0,0,0,4,-1,0,-1,0,0,0,0\ 0,-1,4,0,0,-1,0,0,0\ -1,0,0,4,-1,0,-1,0,0\ 0,-1,0,-1,4,-1,0,-1,0\ 0,0,-1,0,-1,4,0,0,-1\ 0,0,0,-1,0,0,4,-1,0\ 0,0,0,0,-1,0,-1,4,-1\ 0,0,0,0,0,-1,0,-1,4]]\ 0\ 0\ 0\ 0\ 0\ -1\ 0\ -1[[(u_(1,1))]]\ u_(2,1)\ u_(3,1)\ u_(1,2)\ u_(2,2)\ u_(3,2)\ u_(1,3)\ u_(2,3)\ u_(3,3)=[[0]]\ 0\ 25\ 0\ 0\ 50\ 25\ 50\ 50\ u^(0)=(1,1,1,dots,1)^(T)
\
Avec(u)=vec(b)
\
[[83,11,-4],[7,52,13],[3,8,29]][[u_(1)],[u_(2)],[u_(3)]]=[[95],[104],[71]]
\
u^(0)=(0,0,0)^(T)
\ Additional notes\ a) Jacobi:\
x_(i)^((r+1))=(b_(i))/(a_(ii))-\\\\sum_({(:[j
]
=
[
1]),(j!=i):})^n (a_(ij))/(a_(ii))x_(j)^((r))
\ b) Gauss-Seidel:\
x_(i)^((r+1))=(b_(i))/(a_(ii))-\\\\sum_(j=1)^(i-1) (a_(ij))/(a_(ii))x_(j)^((r+1))-\\\\sum_(j=i+1)^n (a_(ij))/(a_(ii))x_(j)^((r))
\ c) S.O.R:\
x_(i)^((r+1))=\\\\omega (GS)+(1-\\\\omega )x_(i)^((r))
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started