Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

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

Lines changed: 9 additions & 0 deletions
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

Lines changed: 9 additions & 0 deletions
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)

AltStyle によって変換されたページ (->オリジナル) /