📑  SageMath Online Mini Campus. Code Set 11

🌀   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=[9,8,..,3],cm=['cool','jet','hsv']):
    var('r,phi,theta')
    def c(i,cmap): return colormaps[cmap](i/(1.*n))[:3]
    SE=SphericalElevation('elevation',['radius','azimuth'])
    p=sum([plot3d(pi/i,(r,0,1),(theta,0,2*pi),opacity=.1*i,
                  transformation=SE,color=c(i,cm)) 
           for i in [3..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, ...)