How to solve algebraic equations exercise?
1 次查看(过去 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 中查找有关 Systems of Nonlinear Equations 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!