Contact
CoCalc Logo Icon
StoreFeaturesDocsShareSupport News AboutSign UpSign In
| Download

All published worksheets from http://sagenb.org

Views: 168696
Image: ubuntu2004
f = plot(exp(-1/2*x) * cos(2*pi*x),(x,0,6),rgbcolor=(1,1,0),legend_label='exp(-1/2*x) * cos(2*pi*x)') g = plot(exp(-1/2*x), (x,0,6),rgbcolor=(0,0,1),legend_label='exp(-1/2*x)') h = f+g h.axes_label_color((1,0,0)) h.axes_labels(['$X-Achse$','$Y-Achse$']) h.set_legend_options(shadow=True) h.set_legend_options(loc=(0.7,0.2)) show (h)
y = 1/3*x^2-4 find_maximum_on_interval(y,-8,8)
/sagenb/sage_install/sage-4.7.2/local/lib/python2.6/site-packages/scipy/optimize/optimize.py:963: 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=...) fx = func(x,*args) /sagenb/sage_install/sage-4.7.2/local/lib/python2.6/site-packages/scipy/optimize/optimize.py:1015: 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=...) fu = func(x,*args) (17.3333324128, -7.9999998273977981)
k = animate([circle((i,abs((10+i/15)*sin(i/3))), 6) for i in srange(1,160)], xmin=0,ymin=0,xmax=60,ymax=30,figsize=[5,5]) k.show()
k = animate([circle((i,abs((10+i/15)*sin(i/3))), 6) for i in srange(1,160)], xmin=0,ymin=0,xmax=60,ymax=30,axes=false) k.show()