Program pr;
uses crt;
Var a,b,c:integer;
H,F,x,x1,x2:real;
Begin
Writeln('Шаг');
readln(H);
Writeln(' a,b,c');
readln(a,b,c);
Writeln('промежуток X нач ,X кон ');
readln(x1,x2);
x:=x1;
While x<=x2 do
Begin
if (c<0) and (b<>0) then
Begin
F:=(a*x*x)+(b*b*x);
Writeln('x=', x:6:2, ' F=',F:6:2);
x:=x+H;
end
else
if (c>0) and (b=0) then
Begin
F:=(x+a)/(x+c);
Writeln('x=', x:6:2, ' F=',F:6:2);
x:=x+H;
end
else
Begin
F:=x/c;
Writeln('x=', x:6:2, ' F=',F:6:2);
x:=x+H;
end;
end;
readln;
end.