function regRoot_der extends Modelica.Icons.Function; input Real x; input Real delta = 0.01 "Range of significant deviation from sqrt(x)"; input Real dx "Derivative of x"; output Real dy; end regRoot_der;