How to solve algebraic equations exercise?
조회 수: 2 (최근 30일)
이전 댓글 표시
Solve the following system of algebraic equations common iteration and Seidel iteration . Find the right solution for 4 decimal places. In either case, fix the number of iterations.
4x1 + x2 + 0.2x3 - 0.1ax4 = 2 ,
-x1 + (a+3)x2 + x3 + (a-1)x4 = -1 ,
0.5x1 + x2 - (a+1)x3 + 0.1x4 = a ,
x1 + 0.9 x2 + 0.2x3 - 0.1ax4 = 0.2a .
Here a is serial number on the list.
댓글 수: 0
답변 (1개)
John Petersen
2012년 12월 4일
You have written the equations in the form
Ax = b
You can solve for x with
x = A\b;
댓글 수: 0
참고 항목
카테고리
Help Center 및 File Exchange에서 Numerical Integration and Differential Equations에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!