From a3d6552fbad6487d6454064ec3bd7030304a3f67 Mon Sep 17 00:00:00 2001 From: Hans Olsson Date: Mon, 22 Feb 2021 17:35:08 +0100 Subject: [PATCH] Update chapters/functions.tex Co-authored-by: Elena Shmoylova --- chapters/functions.tex | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/chapters/functions.tex b/chapters/functions.tex index ccacc4976..b0f997788 100644 --- a/chapters/functions.tex +++ b/chapters/functions.tex @@ -1414,7 +1414,7 @@ \subsection{Using the Derivative Annotation}\label{using-the-derivative-annotati //annotation(derivative(order=2) = f_general_der2); end f_general_der; \end{lstlisting} -In the example above \lstinline!zeroDerivative=y! implies that +In the example above \lstinline!zeroDerivative=y! and \lstinline!zeroDerivative=offset! imply that \begin{eqnarray*} \frac{d}{dt}f(x(t),y(t),o(t))&=&\frac{\partial f}{\partial x}\frac{dx}{dt}+\frac{\partial f}{\partial y}\frac{dy}{dt}+\frac{\partial f}{\partial o}\frac{do}{dt}\\ &=&\frac{\partial f}{\partial x}\frac{dx}{dt}+\frac{\partial f}{\partial y}\cdot 0+\frac{\partial f}{\partial o}\cdot 0\\