Answer the question
In order to leave comments, you need to log in
Calculate to the given precision. Is it the right decision?
Actually, I decided:
var a,E,sum,l: real;
k,n:integer;
begin
repeat
write('Введите a (a<>0): ');
read(a);
until (a<>0);
repeat
write('Введите E точность (E>0): ');
read(E);
until (E>0);
l:=1;
k:=0;
sum:=0;
n:=0;
repeat
l:=l*(a+k);
sum:=sum+(1/(l));
k:=k+1;
until (abs(sum)<E);
writeln('Sum=',sum);
end.
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question