Home
О нас
Products
Services
Регистрация
Войти
Поиск
dmitrii9696
@dmitrii9696
August 2022
1
7
Report
Паскаль. Вычислить сумму ряда при заданном Х и N
[tex] \frac{1}{x} + \frac{1}{x(x+1)} +.... \frac{1}{x(x+1)....(x+n)} [/tex]
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
AngelFate
Здесь принимаешь значения x и n
объявляешь переменную sum и i для организации цикла
i=0;
sum=1;
for(i=0;i<n;i++) //
{
sum+= sum*(1/(x+i)); здесь идет расчет в общем sum=sum+sum*1/(x+i) предполагается что так.
}
вывод sum
2 votes
Thanks 2
×
Report "tex]..."
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
объявляешь переменную sum и i для организации цикла
i=0;
sum=1;
for(i=0;i<n;i++) //
{
sum+= sum*(1/(x+i)); здесь идет расчет в общем sum=sum+sum*1/(x+i) предполагается что так.
}
вывод sum