Ответ:
Объяснение:
n = int(input())
x = float(input())
s = 0
x_ = x
i_ = 1.0
for i in range(1, n + 1):
print(x_, i_)
s += x_/i_
x_ *= x * x
i_ *= (-1)*(2 * i) * (2 * i + 1)
print(s)
Copyright © 2024 SCHOLAR.TIPS - All rights reserved.
Answers & Comments
Ответ:
Объяснение:
n = int(input())
x = float(input())
s = 0
x_ = x
i_ = 1.0
for i in range(1, n + 1):
print(x_, i_)
s += x_/i_
x_ *= x * x
i_ *= (-1)*(2 * i) * (2 * i + 1)
print(s)