CoCalc Public Filestmp / 2015-02-23-201216.sagewsOpen in with one click!
Authors: Harald Schilly, ℏal Snyder, William A. Stein
pretty_print(2/3)
23\displaystyle \frac{2}{3}
show(2/3)
23\displaystyle \frac{2}{3}
view(2/3)
%var x y z g = golden_ratio; r = 4.77 p = 2 - (cos(x + g*y) + cos(x - g*y) + cos(y + g*z) + cos(y - g*z) + cos(z - g*x) + cos(z + g*x)) show(implicit_plot3d(p, (x, -r, r), (y, -r, r), (z, -r, r), plot_points=30, color='orange', mesh=1, opacity=.7), spin=1)
3D rendering not yet implemented
-2
continued_fraction(e)
[2; 1, 2, 1, 1, 4, 1, 1, 6, 1, 1, 8, 1, 1, 10, 1, 1, 12, 1, 1, ...]
BinaryQF([1,2,3]) show(graphs.PetersenGraph().plot3d(), frame=False)
x^2 + 2*x*y + 3*y^2
3D rendering not yet implemented
@interact def interactive_function(a = slider(0, 10, .05, default=4), b = (-3, 3, .1)): f(x) = b * x + sin(a * x) plot(f, (x, -5, 5)).show()
Interact: please open in CoCalc
show(graphs.PetersenGraph())
d3-based renderer not yet implemented
show([1,2])
[1\displaystyle 1, 2\displaystyle 2]
[1..10]
[1, 2, 3, 4, 5, 6, 7, 8, 9, 10]
2+300
302
version()
'Sage Version 6.5, Release Date: 2015-02-17'
sphere()
3D rendering not yet implemented