Question: i wrote C programming. for the following set of nonlinear equations by the Gauss-Seidel method. but it gives me an error. please help with that.
i wrote C programming. for the following set of nonlinear equations by the Gauss-Seidel method. but it gives me an error. please help with that. thanks
| (2) |
Start with an initial guess of x = y = z = 1.
#include
x=y=z=1.0;
printf("Enter # of iteration = "); scanf("%d", &n);
for (i=0;i printf("x = %lf, y= %lf, z=%lf ", x,y,z); return 0; }
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
