Реферат: Решение одного нелинейного уравнения
#include <math. h>
#include <conio. h>
#define e 0.000001
double func (double x)
{
return ( ( ( (x*x) - (log (1+x))) - 3));
}
double x_vir (double x)
{
return (sqrt (log (1+x) +3));
}
void main ()
{
FILE *res;
res=fopen ("itteraciy. txt","w");
int x1,x2,k;
double x;
k=0;
x1=2;
x2=3;
x=0;
double a,b,c;
a=x1;
b=x2;
while (fabs (a-b) >e)
{
b=x_vir (a);
c=b;
b=a;