Home
О нас
Products
Services
Регистрация
Войти
Поиск
терминатор1
@терминатор1
August 2022
1
5
Report
PasKal помогите пожалуйста.на программе Lazarus
Дано действительное x. Вычислить x-x^3/3!+x^5/5!-x^7/7!+x^9/9!-x^11/11!+x^13/13!.
Please enter comments
Please enter your name.
Please enter the correct email address.
Agree to
terms of service
You must agree before submitting.
Send
Answers & Comments
Aillianna
Verified answer
Var
x, s, a: real;
i: integer;
begin
readln(x);
a := x;
s := a;
for i := 2 to 13 do
if i mod 2 = 1 then begin
a := a * (-1) * x * x / ((i - 1) * i);
s := s + a;
end;
writeln(s);
end.
1 votes
Thanks 0
×
Report "13!..."
Your name
Email
Reason
-Select Reason-
Pornographic
Defamatory
Illegal/Unlawful
Spam
Other Terms Of Service Violation
File a copyright complaint
Description
Helpful Links
О нас
Политика конфиденциальности
Правила и условия
Copyright
Контакты
Helpful Social
Get monthly updates
Submit
Copyright © 2025 SCHOLAR.TIPS - All rights reserved.
Answers & Comments
Verified answer
Varx, s, a: real;
i: integer;
begin
readln(x);
a := x;
s := a;
for i := 2 to 13 do
if i mod 2 = 1 then begin
a := a * (-1) * x * x / ((i - 1) * i);
s := s + a;
end;
writeln(s);
end.