Slope fields and integral curves
This notebook contains two interactive elements. (If the interactive elements don't show up immediately, click on each of the code cells and either hit "Run" or press "Shift + Enter")
1. Plotting slope fields
The first lets you input a function into a box and it plots the slope field of the differential equation
2. Plotting slope fields with solution
This function allows you to specify, together with a differential equation as in the last problem, a list of initial conditions and plots the slope field together with the plots of the solutions
which pass through the points . Note that this method can only plot solutions which are single valued.
Remark: If you are getting junk answers because of an infinite slope, try changing infinite_slope_tolerance = 20
to a different value, maybe make 20 smaller, and then re-evaluate the cell.