| 1 | initial version |
Yes, there is a way to do this, with interact.
For your example, the equivalent in Sage would be:
@interact
def _(a=slider(0, 5)):
plot(a * sin(x), -10, 10).show()
| 2 | No.2 Revision |
Yes, there is a way to do this, with interact.
For your example, the equivalent in Sage would be:be (this goes in a notebook cell):
@interact
def _(a=slider(0, interact_sin(a=slider(0, 5)):
plot(a * sin(x), -10, 10).show()
Copyright Sage, 2010. Some rights reserved under creative commons license. Content on this site is licensed under a Creative Commons Attribution Share Alike 3.0 license.