Contact
CoCalc Logo Icon
StoreFeaturesDocsShareSupport News AboutSign UpSign In
| Download

All published worksheets from http://sagenb.org

Views: 168728
Image: ubuntu2004
s = 44 m = 1 for i in srange(1,s+1,1): m = m*i print(m)
2658271574788448768043625811014615890319638528000000000
factorial(44)
2658271574788448768043625811014615890319638528000000000
s=[] for i in srange(-5,5,0.6): s.append(circle((2,(abs(-1*i))+1), 1-1/(6))) show(animate(s,xmin=0,ymin=0,xmax=10,ymax=10))
a = [sin(2*pi*0.99*n) for n in range (150)] list_plot(a, texture='yellow')
verbose 0 (138: primitive.py, options) WARNING: Ignoring option 'texture'=yellow verbose 0 (138: primitive.py, options) The allowed options for Point set defined by 150 point(s) are: alpha How transparent the point is. faceted If True color the edge of the point. hue The color given as a hue. legend_label The label for this item in the legend. rgbcolor The color as an RGB tuple. size How big the point is (i.e., area in points^2=(1/72 inch)^2). zorder The layer level in which to draw
t = var('t') a = plot(sin(2*pi*t), (t,0,150)) b = [(0.99*n) for b in range(150)] c = [(sin(0.99*n*2*pi)) for c in range(150)] list_plot((b), rgbcolor=(4,5,9)), show(a) list_plot((c), rgbcolor=(5,3,3))