How to solve algebraic equations exercise?

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.

답변 (1개)

John Petersen
John Petersen 2012년 12월 4일

0 개 추천

You have written the equations in the form
Ax = b
You can solve for x with
x = A\b;

카테고리

도움말 센터File Exchange에서 Numerical Integration and Differential Equations에 대해 자세히 알아보기

질문:

2012년 12월 4일

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by