Sharedsupport / 2015-02-17-184756-demo.sagewsOpen in CoCalc
Examples for support purposes...
show(integrate(sin(x)*cos(x)^2, x))
13cos(x)3\displaystyle -\frac{1}{3} \, \cos\left(x\right)^{3}
show(22 + 304/34 + pi + pi + e)
2π+e+52617\displaystyle 2 \, \pi + e + \frac{526}{17}
%var u, v
fx = (3*(1+sin(v)) + 2*(1-cos(v)/2)*cos(u))*cos(v)
fy = (4+2*(1-cos(v)/2)*cos(u))*sin(v)
fz = -2*(1-cos(v)/2) * sin(u)
parametric_plot3d([fx, fy, fz], (u, 0, 2*pi), (v, 0, 2*pi), color="green", opacity=.7, mesh=1, spin=5)

3D rendering not yet implemented
points = [(2,0,0), (0,2,0), (0,0,2), (-1,0,0), (0,-1,0), (0,0,-1)]
show(LatticePolytope(points).plot3d(), spin=5)
3D rendering not yet implemented