Using Scriptable Controls with API for Calculations
1. Plot a function using the Slider advanced control in 2 ways: Using the slider’s output and using the worksheet's input.
2. Plot the function.
3. Use the API to update the slider input and modify the function. The following slider calls the Mathcad API. You can copy the example to your worksheet to see the full script.
4. Set an input variable.
After you copy this expression to your worksheet, you must use Input/Output > Assign Inputs to assign x2 as an input variable
5. Compare the results. You can see that both methods provide similar results.