top of page
Search

PYTHON CODING

  • Writer: waclaw_koscielniak
    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 to run your own function.
Try to run your own function.

















 
 
 

1 Comment


Guest
a day ago

Try modifying and running Python on your own.

Like
bottom of page