PYTHON CODING
- waclaw_koscielniak

- 1 day ago
- 1 min read
import sympy as sp
x = sp.Symbol('x')
f = x + sp.exp(1 - x)
integral = sp.integrate(f, x)
print("f(x) =", f)
print("ʃf(x)dx =", integral)
[Running] python3 -u "/Users/name/test/test427.py"
f(x) = x + exp(1 - x)
ʃf(x)dx = x**2/2 - exp(1 - x)
[Done] exited with code=0 in 0.555 seconds


Try modifying and running Python on your own.