Contact Us!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutSign UpSign In
sagemathinc

Real-time collaboration for Jupyter Notebooks, Linux Terminals, LaTeX, VS Code, R IDE, and more,
all in one place. Commercial Alternative to JupyterHub.

GitHub Repository: sagemathinc/cocalc-example-files
Path: blob/master/sage/interactive.sagews
Views: 965

Interactive Elements

u, x = var('u x') @interact def diff_interact(n = slider(range(1,10), default = 3)): ex = sin(2*x^2) * x show(latex(ex)) show(latex(ex.diff(n)))
Interact: please open in CoCalc