Maple Tool 2
This worksheet is configured for use with Exercise 7 in Section 5.1.
The following packages provide tools for plotting and for "enumerating" the data, that is to number the items 1, 2, 3, ... .
> | with(plots): with(ListTools): |
Warning, the name changecoords has been redefined
Warning, the assigned name Group now has a global binding
Enter and plot the altitude data.
> | altitude:=[1295.5, 1297.0, 1296.0, 1295.0, 1292.1, 1290.2, 1283.5, 1278.2, 1274.4, 1261.9, 1253.2, 1242.6, 1234.0, 1216.7, 1199.9, 1184.0, 1169.1, 1151.8, 1137.4, 1124.9]: |
> | altdata:=Enumerate(altitude): |
> | plot1:= plot(altdata,style=point,symbol=circle, color=blue, labels=["Time (sec)", "Altitude (meters)"], labeldirections=[horizontal,vertical], view=[0..20,1100..1300]):%; |
> |
Choose values for slope m and y-intercept b to make the line fit the constant-velocity part of the data.
> | m:=-13.6; b:=1400; |
> | plot2:=plot(m*t+b, t=10..20, view=[0..20,1100..1300]): |
> | display(plot1,plot2); |
> |
Convert meters per second to miles per hour:
> | evalf(m*3600/1609); |
> |
> |
> |
> |