prog.cpp: In function ‘float F(float, float, float, float, float)’:
prog.cpp:5:38: error: ‘log10’ was not declared in this scope
y=a0+a1*x*x+a2*x*x*x+a3*log10(1/x);
^
prog.cpp: In function ‘int main()’:
prog.cpp:11:49: error: ‘printf’ was not declared in this scope
printf("vvedite koefficienty uravneniya: \n");
^
prog.cpp:12:39: error: ‘scanf’ was not declared in this scope
scanf("%f%f%f%f", &a0,&a1,&a2,&a3);
^
prog.cpp:18:46: error: ‘abs’ was not declared in this scope
while (F(x1,a0,a1,a2,a3)>0.001 || abs(x2-x1)>0.001)
^
prog.cpp:20:86: error: expected ‘)’ before ‘;’ token
xn=(x2-((x2-x1)/(F(x2,a0, a1, a2, a3)-F(x1,a0, a1, a2, a3)))*F(x2,a0, a1, a2, a3);
^