πŸ“‘  SageMath Online Mini Campus. Code Set 05

πŸŒ€   Homepage     πŸŒ€   GitHub Pages     πŸŒ€   Previous     πŸŒ€   Next     πŸŒ€   Instagram Posts     πŸŒ€   Pinterest Posts

The set of interactive pages with the following structure:

Example of Computations ⟹ Your Experiments ⟹ Python Modules ⟹ Other Languages

Example of Computations

Click the activate button below to display an interactive example.


@interact
def _(N=(47,0,-1)):
    var('x,y')
    p=implicit_plot(sin(x)-cos(x),(0,4*pi),(-1,1),linestyle=':')
    p+=sum([plot((sin(x),cos(x)),(pi*n/12,pi*(n+1)/12),
                 thickness=12,alpha=.7,
                 color=colormaps.jet(6*n)[:3]) 
            for n in [0..N]])
    p.show(aspect_ratio=4,gridlines=True,figsize=7)


Your Experiments

Type your own SageMath code lines below and click the evaluate button.


This code cell was evaluated automatically.

Loading
Help | Powered by SageMath

Messages


Python Modules

Other Languages (R, HTML, ...)