KmPlot/Using Sliders

Jump to: navigation, search
Other languages:Danish 100% • ‎German 100% • ‎English 100% • ‎French 100% • ‎Ukrainian 100%

A main feature of 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.

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

Kmplot projectile.gif

This page was last modified on 11 October 2010, at 19:08. This page has been accessed 4,414 times. Content is available under Creative Commons License SA 3.0 and the GNU Free Documentation License 1.2.
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V.Legal