N
N
nihi1ist2021-11-19 18:06:49
Python
nihi1ist, 2021-11-19 18:06:49

task in python. How to parse the formula?

There is a task:
The user enters a real number хand precision precision. Write a program that хcalculates the sum of a series given a number up to precision.
6197bd317d50a333303657.png
The exponentiation operation and the function factorialcannot be used.

Example:

Введите точность: 0.001
Введите x: 5
Сумма ряда =  0.2836250150891709


With writing code, I think I can handle it. But I can’t understand the formula, namely the part after the equal sign. I would be grateful for a simple explanation of this formula.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Andy_U, 2021-11-19
@nihi1ist

Now read about rows .

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question