Psst.. new poll here.
Psst.. new forums here.
Microsoft is blocking us again (TY IP Reputation!) so just use oauth login instead. :)
Paste
Pasted as C++ by juli ( 15 years ago )
/*метод простой итерации*/
X=0;
Y=1;
x=0;
y=0;
do
{
x=0.7-cos(Y-1);
y=1-0.5*sin(X);
X+=x;
Y+=y;
if (abs(x)>abs(y))
y=x;
fprintf(output, "X= %f Y= %f y= %f\n",X,Y,y);
}while (abs(y)>eps);
Revise this Paste