Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
Download
20865 views
1
2
\begin{exerciseStatement}
3
4
5
Use \verb|https://sagecell.sagemath.org/| to run the SageMath code \verb|t,y = var('t y'); plot_slope_field(cos(t+y), (t,-5,5), (y,-5,5))| producing the direction field for the ODE \( {y'} = \cos\left({y} + t\right) \).
6
7
8
9
Let \(y_p\) be the solution to the following IVP. Explain how to use its direction field to approximate the value of \(y_p\) at \(t= -1 \).
10
11
\[ {y'} = \cos\left({y} + t\right) \hspace{2em}
12
y( 1 )= -2 \]
13
\end{exerciseStatement}
14
15
\begin{exerciseAnswer}
16
\[y_p( -1 )\approx -2.0 \]
17
\end{exerciseAnswer}
18
19
20