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,43),(2,47),(3,56),(4,67),(5,75),(6,84),(7,88),(8,87),(9,80),(10,68),(11,58),(12,47)] plot(x * sin(x), (x, -2, 10))
[(1, 43), (2, 47), (3, 56), (4, 67), (5, 75), (6, 84), (7, 88), (8, 87), (9, 80), (10, 68), (11, 58), (12, 47)]
[(1,62),(2,65),(3,72),(4,80),(5,87),(6,92),(7,96),(8,97),(9,91),(10,82),(11,71),(12,63)] plot(x * sin(x), (x, -2, 10))
[(1, 62), (2, 65), (3, 72), (4, 80), (5, 87), (6, 92), (7, 96), (8, 97), (9, 91), (10, 82), (11, 71), (12, 63)]
f(x)=sin(2x-3.14)-2 plot(x * sin(x), (x, -2, 10))
*** WARNING: Code contains possible implicit multiplication *** *** Check if [u'2x'] need a "*" sign for multiplication, e.g. < 5x > should be < 5*x > ! *** Error in lines 1-1 Traceback (most recent call last): File "/cocalc/lib/python2.7/site-packages/smc_sagews/sage_server.py", line 1013, in execute exec compile(block+'\n', '', 'single') in namespace, locals File "<string>", line 1 __tmp__=var("x"); f = symbolic_expression(sin(2x-RealNumber('3.14'))-Integer(2)).function(x) ^ SyntaxError: invalid syntax
h(x)=tan(x-π/2) plot(x * sin(x), (x, -2, 10))
*** WARNING: Code contains non-ascii characters *** Error in lines 1-1 Traceback (most recent call last): File "/cocalc/lib/python2.7/site-packages/smc_sagews/sage_server.py", line 1013, in execute exec compile(block+'\n', '', 'single') in namespace, locals File "<string>", line 1 __tmp__=var("x"); h = symbolic_expression(tan(x-π/Integer(2))).function(x) ^ SyntaxError: invalid syntax