Contact
CoCalc Logo Icon
StoreFeaturesDocsShareSupport News AboutSign UpSign In
| Download

All published worksheets from http://sagenb.org

Views: 168703
Image: ubuntu2004
1+1
2
1+1
2
2+3
5
a=3;
a+2
5
pi
pi
pi.n(digits=30)
3.14159265358979323846264338328
3*pi
3*pi
g(x)=sqrt(x) f(x)=2/7*(2*sin(pi*x/7)^2+2*sin(2*pi*x/7)^2+2*sin(3*pi*x/7)^2) P=plot(g(x),0,7) P.show().save(test.png)
Traceback (most recent call last): File "<stdin>", line 1, in <module> File "/home/sage/sagenb/sage_notebook/worksheets/bandobras/0/code/15.py", line 10, in <module> exec compile(ur'P.show().save(test.png)' + '\n', '', 'single') File "/home/sage/sage_install/sage-a/local/lib/python2.5/site-packages/SQLAlchemy-0.4.6-py2.5.egg/", line 1, in <module> AttributeError: 'NoneType' object has no attribute 'save'
f(x,y)=y^2*sin(x)*cos(y)^2/x P=plot3d(f(x,y),[50,150],[50,150]) P.show()
/home/sage/sage_install/sage/local/lib/python2.5/site-packages/sage/plot/plot3d/plot3d.py:177: DeprecationWarning: Substitution using function-call syntax and unnamed arguments is deprecated and will be removed from a future release of Sage; you can use named arguments instead, like EXPR(x=..., y=...) f_list, (u,v) = parametric_plot3d.adapt_to_callable([f], 2)