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
Added a warning when constructing a Matrix without bracket + test modified
[sympy.git]
/
examples
/
series.py
blob
67dd17ffca40fee6dfb1476b95959b97953aa08a
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
,
0
,
10
)
10
print
""
11
12
e
=
1
/
sin
(
x
)
13
print
"Series for csc(x):"
14
print
e
.
series
(
x
,
0
,
4
)