Var i:integer; n,k:real;
begin
n:=10;k:=10;
for i:=1 to 6 do
begin
n:=1.1*n;
k:=k+n;
end;
writeln(k:5:2);
end.
Var i,n,k: integer;
<span> a: array[0..1000] of integer;
</span><span>begin
</span><span> write('n = '); readln(n);
</span><span> a[0]:=1; a[1]:=1;
</span><span> i:=2;
</span><span> repeat
</span><span> k:=i div 2;
</span><span> if (i mod 2) = 0 then a[i]:=a[k]+a[k-1]
</span><span> else a[i]:=a[k]-a[k-1];
</span><span> i:=i+1;
</span><span> until i>n;
</span><span> writeln('a(n) = ',a[n]);
</span><span>end.
</span>
Корень из S и умножить на 4???