Math 172 - IN1 Course Folder-collect / Project 3 - Trig part 2 / ddb71fee-3385-406d-82fd-cf9afd19fbf6 / Step 2 - Your page to turn in!.sagews
4218 viewsYour turn!
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.
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)]
[(1, 62), (2, 65), (3, 72), (4, 80), (5, 87), (6, 92), (7, 96), (8, 97), (9, 91), (10, 82), (11, 71), (12, 63)]
*** 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
*** 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