Ordinary differential equations: Slope field and solution curves with R
Drawing a slope field with some integral curves [R task]
We consider the differential equation \[\frac{\dd y}{\dd t}=\frac{4-2t}{3y^2-5}\]
Assignments
- Determine the general solution of the differential equation in implicit form by the method of separation of variables.
- Draw a slope field and use the
geom_contour
function from theggplot2
package to draw some integral curves in it.
The result should resemble the figure below.
Unlock full access