var
a,b,h:integer;
function F(x:integer):real;
begin
F:=x-sin(((x-1)*pi)/180);
end;
write('a: ');readln(a);
write('b: ');readln(b);
write('h: ');readln(h);
writeln;
while a<=b do
writeln('При a=',a,' F(a): ',F(a):5:3);
a:=a+h;
end.
Copyright © 2024 SCHOLAR.TIPS - All rights reserved.
Answers & Comments
var
a,b,h:integer;
function F(x:integer):real;
begin
F:=x-sin(((x-1)*pi)/180);
end;
begin
write('a: ');readln(a);
write('b: ');readln(b);
write('h: ');readln(h);
writeln;
while a<=b do
begin
writeln('При a=',a,' F(a): ',F(a):5:3);
a:=a+h;
end;
end.