question
stringclasses 4
values | final_answer
stringclasses 4
values | rationale
stringclasses 4
values |
---|---|---|
Evaluate the limit as x approaches 0 of (sin(3*x) - 3*x) / x**3.
|
-9/2
|
from sympy import symbols, limit, sin
x = symbols('x')
expr = (sin(3*x) - 3*x) / x**3
result = limit(expr, x, 0)
print(result)
|
Evaluate the definite integral of (1 - x**2)**3 from x = 0 to x = 1.
|
16/35
|
from sympy import symbols, integrate
x = symbols('x')
expr = (1 - x**2)**3
result = integrate(expr, (x, 0, 1))
print(result)
|
Evaluate the limit as n approaches infinity of n*(sqrt(n**2 + 1) - n).
|
1/2
|
from sympy import symbols, limit, sqrt
n = symbols('n', positive=True)
expr = n*(sqrt(n**2 + 1) - n)
result = limit(expr, n, float("inf"))
print(result)
|
Compute the sum of the series sum from n = 1 to 50 of 1/(n*(n+1)).
|
50/51
|
from sympy import symbols, summation
n = symbols('n', positive=True, integer=True)
expr = 1/(n*(n+1))
result = summation(expr, (n, 1, 50))
print(result)
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.