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

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)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy