#4a) s''=-s, s(0)=1, s'(0)=0
show(desolve(diff(s,t,2)+s,s))
show(desolve(diff(s,t,2)+s,s,[0,1,0]))
show(taylor(cos(t),t,0,6))
plot(desolve(diff(s,t,2)+s,s,[0,1,0]),0,2*pi)
|
\newcommand{\Bold}[1]{\mathbf{#1}}k_{1} \sin\left(t\right) + k_{2} \cos\left(t\right)
\newcommand{\Bold}[1]{\mathbf{#1}}\cos\left(t\right)
\newcommand{\Bold}[1]{\mathbf{#1}}-\frac{1}{720} \, t^{6} + \frac{1}{24} \, t^{4} - \frac{1}{2} \, t^{2} + 1

\newcommand{\Bold}[1]{\mathbf{#1}}k_{1} \sin\left(t\right) + k_{2} \cos\left(t\right)
\newcommand{\Bold}[1]{\mathbf{#1}}\cos\left(t\right)
\newcommand{\Bold}[1]{\mathbf{#1}}-\frac{1}{720} \, t^{6} + \frac{1}{24} \, t^{4} - \frac{1}{2} \, t^{2} + 1

|