Contact
CoCalc Logo Icon
StoreFeaturesDocsShareSupport News AboutSign UpSign In
| Download

All published worksheets from http://sagenb.org

Views: 168731
Image: ubuntu2004
def f(x): return x^3-x^2-2*x+3 def g(x): return exp(x)*f(-x) g(-4); n(g(-4))
43*e^(-4) 0.787572472215570
p1 = plot (f, (-2,3), rgbcolor=(1,0,0)) p2 = plot (g, (-8,1.65)) t1 = text ("y=f(x)", (3,4), rgbcolor=(1,0,0)) t2 = text ("y=g(x)", (1,9)) show (p1+p2+t1+t2)
x, y = var('x,y') plot3d(2*x^3 + x*y^2 + 5*x^2 + y^2, (x,-3,3), (y,-3,3))