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
pretty: fix ascii symbology for '[' and ']'
[sympy.git]
/
examples
/
basic.py
blob
bf01d75f6137a0b8a8e0204ec506e61ca7e6fad2
1
import
sys
2
sys
.
path
.
append
(
".."
)
3
4
import
sympy
5
a
=
sympy
.
Symbol
(
'a'
)
6
b
=
sympy
.
Symbol
(
'b'
)
7
c
=
sympy
.
Symbol
(
'c'
)
8
e
=(
a
*
b
*
b
+
2
*
b
*
a
*
b
)**
c
9
print
e