KmPlot/Using Sliders: Difference between revisions
Pipesmoker (talk | contribs) |
|||
Line 31: | Line 31: | ||
<!--T:9--> | <!--T:9--> | ||
[[Image:Kmplot_projectile.png|thumb]] | [[Image:Kmplot_projectile.png|thumb]] | ||
<div style="margin-right:200px;"> | |||
Now let's have a look at the maximum distance of a projectile thrown with different angles. We use a parametric plot depending on an additional parameter which is the angle. | Now let's have a look at the maximum distance of a projectile thrown with different angles. We use a parametric plot depending on an additional parameter which is the angle. | ||
Line 40: | Line 42: | ||
* Check the <menuchoice>Slider</menuchoice> option and choose <menuchoice>Slider No. 1</menuchoice> from the drop down list. | * Check the <menuchoice>Slider</menuchoice> option and choose <menuchoice>Slider No. 1</menuchoice> from the drop down list. | ||
* To make the available sliders visible, check <menuchoice>View -> Show Sliders</menuchoice> | * To make the available sliders visible, check <menuchoice>View -> Show Sliders</menuchoice> | ||
</div> | |||
<!--T:11--> | <!--T:11--> |
Revision as of 14:19, 11 October 2010
A main feature fo KmPlot is to visualize the influence of parameters to the curve of a function.
Moving a Sinus Curve
Let's see, how to move a sinus curve left and right:
- Create a new cartesian plot.
- Enter the equation
f(x,a) = sin(x-a)
- Check the option and choose from the drop down list.
- To make the available sliders visible, check
Now you can move the slider and see how the parameter value modifies the position of the curve.
Screenshots
-
Input
-
Show sliders option
-
Slider window
Trajectory of a Projectile
Now let's have a look at the maximum distance of a projectile thrown with different angles. We use a parametric plot depending on an additional parameter which is the angle.
- Define a contant v_0 for the starting velocity.
- Create a new parametric plot
- Enter the equations
f_x(t,α) = v_0∙cos(α)∙t f_y(t,α) =2+ v_0∙sin(α)∙t−5∙t^2
- Check the option and choose from the drop down list.
- To make the available sliders visible, check
Now you can move the slider and see how the distance depends on the parameter value.