1Graphical interface

 

2Function

The <differential> block calculates the derivative of the input; it is expressed in units of the input per second.

The calculation formula is as follows: derivative = (in – in(n-1)) / dt

where dt is the time in seconds measured between two executions.

Note that during the first execution, the “out” output will be invalid, because the “in (n-1)” output is invalid since it has not yet been evaluated.

3Input

4Outputs

 

5Types 

Inputs must be of type: int or float.

The output is of type float.