Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
Download
4218 views

Your turn!

  1. Follow the link http://mathbits.com/MathBits/TISection/Statistics2/sinusoidal.htmlto find data for the two other cities. Type in the data and create separate scatter plots. Then find the sinusoidal model for each.

  2. Plot the function: f(x)=sin(2x-π)-2, g(x)=-3sec(πx); h(x)=tan(x-π/2) in a single graphing window from [-2π,2π]. Use different colors for each graph!

1. Washington weather data (month,max temp): (1,43),(2,47),(3,56),(4,67),(5,75),(6,84),(7,88),(8,87),(9,80),(10,68),(11,58),(12,47) data=[(1,43),(2,47),(3,56),(4,67),(5,75),(6,84),(7,88),(8,87),(9,80),(10,68),(11,58),(12,47)] p=scatter_plot(data) p Austin weather data (month, max temp): (1,62),(2,65),(3,72),(4,80),(5,87),(6,92),(7,96),(8,97),(9,91),(10,82),(11,71),(12,63) data=[(1,62),(2,65),(3,72),(4,80),(5,87),(6,92),(7,96),(8,97),(9,91),(10,82),(11,71),(12,63)] p=scatter_plot(data) p 2. %var u parametric_plot3d( (sin(2x-pi)-2,u/10),(u,0,20), thickness=5, color='green', plot_points=100) %var u parametric_plot3d( (3sec(pi(x), u/10), (u, 0, 20), thickness=5, color='red', plot_points=100) %var u parametric_plot3d( (tan(x-pi/2) u/10), (u, 0, 20), thickness=5, color='yellow', plot_points=100)