Const
b = 18;
h = 5;
var
a: array [1..4] of real := (2.1, 3.2, 4.8, 5.7);
begin
var y := 1.0;
var c := 15;
var j := 1;
while j <= 3 do <br> begin
c += h;
y *= sin(c);
j += 1;
end;
for var i := 1 to 4 do
y += a[i] + sqrt(b);
writeln('y = ', y);
end.
Sub Zadanie17890266_2()
a = Array(0, 2.1, 3.2, 4.8, 5.7)
b = sqr(18)
c = 15
h = 5
yy = 1.0
j = 1
do while j<=3<br> c = c + h
yy = yy * sin(c)
j = j + 1
loop
for i = 1 to 4
yy = yy + a(i) + b
next
MsgBox yy
End Sub
Call Zadanie17890266_2()
я брала что С_0=15, h - шаг, тогда с_1=20 и тд