[A-L] (2023/24) Foglio 1 - Esercizio 9 #144
Replies: 2 comments
-
Per semplicita' pongo Per dimostrare l'uguaglianza calcolo Allora vale |
Beta Was this translation helpful? Give feedback.
-
La correttezza dei conti e' data dal seguente programma from sympy import *
n = symbols('n')
k = 20
expr = n - prod([n - i for i in range(k)]) / (n ** (k - 1))
print("C_1 =", limit(expr, n, oo))
print("exepected =", (k - 1) * k / 2)
expr = n**2 - prod([n - i for i in range(k)]) / (n ** (k - 2)) - k * (k - 1) / 2 * n
print("C_2 =", limit(expr, n, oo))
print("expected =", - (k - 1)*(k - 2) * (3 * k ** 2 - k) / 24) |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
All reactions