KmPlot/Using Sliders: Difference between revisions

From KDE Wiki Sandbox
No edit summary
(Marked this version for translation)
Line 1: Line 1:
<languages />
<languages />
<translate>
<translate>
<!--T:1-->
A main feature fo '''KmPlot''' is to visualize the influence of parameters to the curve of a function.  
A main feature fo '''KmPlot''' is to visualize the influence of parameters to the curve of a function.  


==Moving a Sinus Curve==
==Moving a Sinus Curve== <!--T:2-->


<!--T:3-->
Let's see, how to move a sinus curve left and right:
Let's see, how to move a sinus curve left and right:


<!--T:4-->
* Create a new cartesian plot.
* Create a new cartesian plot.
* Enter the equation {{Input|1=f(x,a) = sin(x-a)}}
* Enter the equation {{Input|1=f(x,a) = sin(x-a)}}
Line 12: Line 15:
* To make the available sliders visible, check <menuchoice>View -> Show Sliders</menuchoice>
* To make the available sliders visible, check <menuchoice>View -> Show Sliders</menuchoice>


<!--T:5-->
Now you can move the slider and see how the parameter value modifies the position of the curve.
Now you can move the slider and see how the parameter value modifies the position of the curve.


===Screenshots===
===Screenshots=== <!--T:6-->


<!--T:7-->
<gallery perrow="3">
<gallery perrow="3">
Image:Kmplot_function_with_param.png|Input
Image:Kmplot_function_with_param.png|Input
Line 22: Line 27:
</gallery>
</gallery>


==Trajectory of a Projectile==
==Trajectory of a Projectile== <!--T:8-->


<!--T:9-->
[[Image:Kmplot_projectile.png|thumb]]
[[Image:Kmplot_projectile.png|thumb]]
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 angel.
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 angel.


<!--T:10-->
* Define a contant v_0 for the starting velocity.
* Define a contant v_0 for the starting velocity.
* Create a new parametric plot
* Create a new parametric plot
Line 34: Line 41:
* To make the available sliders visible, check <menuchoice>View -> Show Sliders</menuchoice>
* To make the available sliders visible, check <menuchoice>View -> Show Sliders</menuchoice>


<!--T:11-->
Now you can move the slider and see how the distance depends on the parameter value.
Now you can move the slider and see how the distance depends on the parameter value.


<!--T:12-->
[[Category:Education]]
[[Category:Education]]
</translate>
</translate>

Revision as of 13:59, 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 Slider option and choose Slider No. 1 from the drop down list.
  • To make the available sliders visible, check View -> Show Sliders

Now you can move the slider and see how the parameter value modifies the position of the curve.

Screenshots

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 angel.

  • 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 Slider option and choose Slider No. 1 from the drop down list.
  • To make the available sliders visible, check View -> Show Sliders

Now you can move the slider and see how the distance depends on the parameter value.