repo.or.cz
/
sympy.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Start of the 0.5.12 development cycle
[sympy.git]
/
examples
/
series.py
blob
2b4dbff5b30f6b67af01602f6cd007dae522d777
1
#!/usr/bin/env python
2
import
iam_sympy_example
3
4
from
sympy
import
Symbol
,
cos
,
sin
5
x
=
Symbol
(
'x'
)
6
7
e
=
1
/
cos
(
x
)
8
print
"Series for sec(x):"
9
print
e
.
series
(
x
,
10
)
10
print
""
11
12
e
=
1
/
sin
(
x
)
13
print
"Series for csc(x):"
14
print
e
.
series
(
x
,
4
)