Derivative calculates mathematical derivatives using Python and SymPy (Sailfish OS version)