Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 31ed141

Browse files
author
pxiaoer
committed
add 01 02
1 parent b56a447 commit 31ed141

File tree

2 files changed

+18
-0
lines changed

2 files changed

+18
-0
lines changed

Basics/01.py

+9
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
import sympy
2+
from sympy import oo
3+
import numpy as np
4+
5+
x = sympy.Symbol('x')
6+
f = sympy.sin(x)/x
7+
r = sympy.limit(f, x,oo)
8+
9+
print(r)

Basics/02.py

+9
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
import sympy
2+
import numpy as np
3+
4+
x = sympy.Symbol("x")
5+
f = (x**2 - 1) / (x - 1)
6+
7+
r =sympy.limit(f, x, 1)
8+
9+
print(r)

0 commit comments

Comments
 (0)