Math 172 - IN1 Course Folder-collect / Project 3 - Trig part 2 / de065103-1a36-4173-bff8-49ba3b3474a6 / 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!
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
The link above does not work. I have taken your statistics and tweaked them a bit creating my own made up data just to practice the problems that you wanted me to do.
^
SyntaxError: invalid syntax
30.647381517978932*sin(0.5464751603174666*x - 2.3476132782553267) + 60.2090605597237
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 "", line 1, in <module>
File "sage/misc/lazy_import.pyx", line 354, in sage.misc.lazy_import.LazyImport.__call__ (/ext/sage/sage-8.0/src/build/cythonized/sage/misc/lazy_import.c:3559)
return self.get_object()(*args, **kwds)
File "/ext/sage/sage-8.0/local/lib/python2.7/site-packages/sage/numerical/optimize.py", line 685, in find_fit
raise ValueError("no variables given")
ValueError: no variables given