derivative

Navigation:  Language Reference > Functions > Arithmetic >

derivative

Previous pageReturn to chapter overviewNext page

Syntax

y = derivative(x,base);

Description

Returns the derivative value of x with respect to base. E.g:

 

variables

 real x, y, z;

equations

x = sin (time);

y = derivative (x, time);

z = derivative (x^2, x);

 

Limitations

20-sim will use its symbolic engine to solve the derivative and rewrite it to a closed form. If no solution is found, and error message is generated.