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 ExchangeNumerical 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