\(\newcommand{\W}[1]{ \; #1 \; }\) \(\newcommand{\R}[1]{ {\rm #1} }\) \(\newcommand{\B}[1]{ {\bf #1} }\) \(\newcommand{\D}[2]{ \frac{\partial #1}{\partial #2} }\) \(\newcommand{\DD}[3]{ \frac{\partial^2 #1}{\partial #2 \partial #3} }\) \(\newcommand{\Dpow}[2]{ \frac{\partial^{#1}}{\partial {#2}^{#1}} }\) \(\newcommand{\dpow}[2]{ \frac{ {\rm d}^{#1}}{{\rm d}\, {#2}^{#1}} }\)
sin_cos_forward¶
View page sourceTrigonometric and Hyperbolic Sine and Cosine Forward Theory¶
Differential Equation¶
The standard math function differential equation is
In this sections we consider forward mode for the following choices:
\(F(u)\) |
\(\sin(u)\) |
\(\cos(u)\) |
\(\sinh(u)\) |
\(\cosh(u)\) |
||||||
\(A(u)\) |
\(0\) |
\(0\) |
\(0\) |
\(0\) |
||||||
\(B(u)\) |
\(1\) |
\(1\) |
\(1\) |
\(1\) |
||||||
\(D(u)\) |
\(\cos(u)\) |
\(- \sin(u)\) |
\(\cosh(u)\) |
\(\sinh(u)\) |
We use \(a\), \(b\), \(d\) and \(f\) for the Taylor coefficients of \(A [ X (t) ]\), \(B [ X (t) ]\), \(D [ X (t) ]\), and \(F [ X(t) ]\) respectively. It now follows from the general Taylor Coefficients Recursion Formula that for \(j = 0 , 1, \ldots\),
The formula above generates the order \(j+1\) coefficient of \(F[ X(t) ]\) from the lower order coefficients for \(X(t)\) and \(D[ X(t) ]\).