Contact
CoCalc Logo Icon
StoreFeaturesDocsShareSupport News AboutSign UpSign In
| Download

All published worksheets from http://sagenb.org

Views: 168742
Image: ubuntu2004

Play -- A Sandbox

You can enter HTML here, outside the Sage notebook sections
TeX can be used here, this is an equation:
E=Ji=1Nsisi+1E = -J \sum_{i=1}^N s_i s_{i+1} or ex2  dx=π\int_{-\infty}^{\infty}e^{-x^{2}}\;dx=\sqrt{\pi}

L = [[cos(pi*i/100),sin(pi*i/100)] for i in range(200)] p = polygon(L, rgbcolor=(1,1,0)) p.show(aspect_ratio=1)
x, y = var("x y") S = sphere((0,0,0),size=0.3, color='red', aspect_ratio=[1,1,1]) S.show()
W = plot3d(sin(pi*((x)^2+(y)^2))/2,(x,-1,1),(y,-1,1), frame=False, color="purple") show(W + S, figsize=8)
u, v = var('u,v') f1 = (4+(3+cos(v))*sin(u), 4+(3+cos(v))*cos(u), 4+sin(v)) f2 = (8+(3+cos(v))*cos(u), 3+sin(v), 4+(3+cos(v))*sin(u)) p1 = parametric_plot3d(f1, (u,0,2*pi), (v,0,2*pi), texture="red") p2 = parametric_plot3d(f2, (u,0,2*pi), (v,0,2*pi), texture="blue") p1 + p2
f = lambda t: (t,t^2,t^3) t = Tachyon(camera_center=(5,0,4)) t.texture('t') t.light((-20,-20,40), 0.2, (1,1,1)) t.parametric_plot(f,-5,5,'t',min_depth=6) t.show()
DIR
'/sagenb/servers'
%html This is an HTML block.
This is an HTML block.
F=exp(.4*(x-.4)^2 - .08*x^4) F
e^(0.400000000000000*(x - 0.400000000000000)^2 - 0.0800000000000000*x^4)
jsmath(F)
\newcommand{\Bold}[1]{\mathbf{#1}}e^{\left(0.400000000000000 \, {\left(x - 0.400000000000000\right)}^{2} - 0.0800000000000000 \, x^{4}\right)}
plot(F,-5,5)