Differential Equations Examples with MAPLE The following command must be used to bring in Differential Equations tools with(DEtools): You can store a differential equation with the following command. eqn1:=diff(y(x),x)=y(x); The following command will attempt to find an analytical solution to the differential equation dsolve(eqn1); The following command will plot the slope filed of a differential equation DEplot(eqn1,y(x),x=-10..10,y=-10..10); The following command will plot a solution curve along with the slope field for a given initial condition DEplot(eqn1,y(x),x=-10..10,y=-10..10,{[0,1]},linecolor=black); The following commands are solutions to the handout from class. eqn2:=diff(y(x),x)=cos(x); DEplot(eqn2,y(x),x=-10..10,y=-10..10); QyQ+SSVlcW4zRzYiLy1JJWRpZmZHJSpwcm90ZWN0ZWRHNiQtSSJ5R0YlNiNJInhHRiVGLiwkKiZGLiIiIkYsRjEhIiJGMQ== DEplot(eqn3,y(x),x=-10..10,y=-10..10); eqn4:=diff(y(x),x)=1; DEplot(eqn4,y(x),x=-10..10,y=-10..10); eqn5:=diff(y(x),x)=x/y; DEplot(eqn5,y(x),x=-10..10,y=-10..10); eqn6:=diff(y(x),x)=x-y; DEplot(eqn6,y(x),x=-10..10,y=-10..10);