Initialisation du repository de Beta
This commit is contained in:
commit
14985f6dbb
9469 changed files with 1903273 additions and 0 deletions
|
|
@ -0,0 +1,13 @@
|
|||
from sympy.core.numbers import E
|
||||
from sympy.core.symbol import symbols
|
||||
from sympy.functions.elementary.exponential import log
|
||||
from sympy.functions.elementary.miscellaneous import sqrt
|
||||
from sympy.geometry.curve import Curve
|
||||
from sympy.integrals.integrals import line_integrate
|
||||
|
||||
s, t, x, y, z = symbols('s,t,x,y,z')
|
||||
|
||||
|
||||
def test_lineintegral():
|
||||
c = Curve([E**t + 1, E**t - 1], (t, 0, log(2)))
|
||||
assert line_integrate(x + y, c, [x, y]) == 3*sqrt(2)
|
||||
Loading…
Add table
Add a link
Reference in a new issue