📑  SageMath Online Mini Campus. Code Set 16

🌀   Homepage     🌀   GitHub Pages     🌀   Previous     🌀   Next     🌀   Instagram Posts     🌀   Pinterest Posts

The set of interactive pages with the following structure:

Example of Computations $\mathbb{\implies}$ Your Experiments $\mathbb{\implies}$ Python Modules $\mathbb{\implies}$ Other Languages

Example of Computations

Click the $\mathbb{activate}$ button below to display an interactive example.


@interact
def _(N=[20,40,60],CM=['hsv','prism','jet']):
    def f(i): return (ln(i)*cos(i),ln(i)*sin(i))
    def c(i,cmap): return colormaps[cmap](i/(1.*N))[:3]
    p=sum([polygon([f(i),(0,f(i)[1]),(f(i)[0],0)],
                   color=c(i,CM),alpha=.5).plot3d(z=-.1*i) 
           for i in [1..N]])
    p.show(frame=False)


Your Experiments

Type your own SageMath code lines below and click the $\mathbb{evaluate}$ button.


This code cell was evaluated automatically.

Python Modules

Other Languages (R, HTML, ...)

<script src='https://d3js.org/d3.v5.min.js'></script> was added in the page head.