I've created a function f and a slider:
Slider[Dynamic[y],{1,4}]
How to execute/call f each time the slider is dragged?
I've created a function f and a slider:
Slider[Dynamic[y],{1,4}]
How to execute/call f each time the slider is dragged?
Another rout to take would be just using Manipulate. It will update content inside of it automatically in addition to automatically creating an interface.
f[y_] := y
Manipulate[f[y], {y, 1, 4}]
