Diff('Expression')

Description

This function returns the differential dx/dt of 'Expression'.

Example

If 'Expression' is a length measuring signal, this diff-function can be used to determine a speed curve.

Task description

The speed curve should be determined from a length measuring signal and, from this, the acceleration curve.

Solution

Through repeated (iterative) performance of the diff-function using the values of the first as 'Expression' we obtain the curve of the acceleration.

In the figure below the blue curve shows the covered distance ("length"), the red curve shows the calculated course of speed and the green curve shows the calculated course of acceleration.