1 | initial version |
Here are some inputs:
csv
module, the web has tons of examples.s
representing an integer, you can transform it as a Sage integer as ZZ(s)
.sin(45)
will not give you sqrt(2)/2
but sin(pi/4)
will.E
, you can get its latex string representation with latex(E)
.For example:
sage: latex(sin(pi/4))
\frac{1}{2} \, \sqrt{2}
You should get enough information to reach your goal.