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!

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)] 23.381*sin(0.499*x - 2.029) + 66.261 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)] 17.753*sin(0.504*x - 2.007) + 79.159 2. f(x)= period:pi phase shift: pi/2 to the right vertical shift down 2 g(x)= amplitude:3 reflection on the x-axis period:2 h(x)= phsase shift: pi/2 to the right period: pi
print "Plot of a list of points" # either type of list works tuple_list = [ (1,43) , (2,47 ), ( 3,56 ), ( 4,67 ), ( 5,75 ), ( 6, 84 ), (7,88 ),(8,87),(9,80),(10,68),(11,58),(12,47) ] listPlot = list_plot( dictionary_list ) show( listPlot, xmin=0, xmax =12, ymin=-2pi, ymax=2pi, figsize=[4,4] )
Plot of a list of points