program sin2x_na1_2_hag02;
var
x,y:real;
begin
x:=-1;
writeln('--------------------');
writeln('| x | y |');
while x<=2 do
y:=-sin(2*x);
writeln('|',x:5:2,' |',y:9:2,'|');
x:=x+0.2;
end;
end.
program sin2x_na1_2_hag02;
var
x,y:real;
begin
x:=-1;
writeln('--------------------');
writeln('| x | y |');
writeln('--------------------');
while x<=2 do
begin
y:=-sin(2*x);
writeln('|',x:5:2,' |',y:9:2,'|');
writeln('--------------------');
x:=x+0.2;
end;
end.