Contact
CoCalc Logo Icon
StoreFeaturesDocsShareSupport News AboutSign UpSign In
| Download
Views: 1263
Image: ubuntu2004
# Name # Ashley Garvey # I confirm. I understand

(0a) Please type your name at the top of your worksheet as a comment.

(0b) The policy for the quiz is as follows: Do your quiz independently. Do not engage in consultation with others. (Exception: You are encouraged to ask me questions in the public chat, the private chat, or in a breakout.) During the quiz, you may use your class notes, code you wrote previously, Sage and CoCalc, and resources posted on our Blackboard site. You are not permitted to engage with any other resources of any kind anywhere. Please confirm your compliance with the academic honesty policy for this quiz and your understanding of the consequences. You can do this by typing I confirm. I understand.\texttt{I confirm. I understand.}.

(1) Define f1(x)=exf1(x) = e^x, f2(x)=exf2(x) = e^{-x}, and f(x)=(ex+ex)/2f(x) = (e^x + e^{-x})/2.

f1(x) = e**x
f1(x)
e^x
f2(x)= e**-x
f2(x)
Error in lines 1-1 Traceback (most recent call last): File "/cocalc/lib/python3.8/site-packages/smc_sagews/sage_server.py", line 1230, in execute exec( File "", line 1, in <module> NameError: name 'f2' is not defined
f3(x)=((e**x+e**-x)/2)
f3(x)
1/2*e^(-x) + 1/2*e^x

(1a) Graph the three functions on the same set of axes, choosing scaling that shows the key features of the graphs.(5)

plot(f1, x, xmin=-10, xmax=10, ymin=-10, ymax =10 ) + plot(f2, x, xmin=-10, xmax=10, ymin=-10, ymax =10 ) + plot(f3, x, xmin=-10, xmax=10, ymin=-10, ymax =10 )

(1b) Explain which graph is the graph of f1(x)f1(x), which is the graph of f2(x)f2(x), and which is the graph of f(x)f(x) in a complete sentence. (0)

I did not receive a response to this question.

(2) The function f(x)=(ex+ex)/2f(x) = (e^x + e^{-x})/2 is called the hyperbolic cosine function and can be written in the equivalent form g(x)=cosh(x)g(x) = \cosh(x).

f(x)=(e**x+e**-x)
f(x)
e^(-x) + e^x

Remember to divide by 2 in f(x)f(x).

g(x)=cosh(x)
g(x)
Error in lines 1-1 Traceback (most recent call last): File "/cocalc/lib/python3.8/site-packages/smc_sagews/sage_server.py", line 1230, in execute exec( File "", line 1, in <module> NameError: name 'g' is not defined

(2a) Use Sage to provide evidence that these two functions f(x)f(x) and g(x)g(x) are the same, perhaps by graphing them both on the same set of axes. (2)

plot(f(x), xmin=-10, xmax=10, ymin=-10, ymax =10)+plot(g(x), xmin=-10, xmax=10, ymin=-10, ymax =10)

(2b) What is an approximate value for cosh(3)\cosh(3), accurate to three decimal digits? Does this answer look right based on your graph? Explain, rescaling your graph as needed. (2)

#cosh(3) is approximately equal to 10.
What is an approximate value for cosh(3)\cosh(3), accurate to three decimal digits?

(3a) Is it true that cosh(x)=cosh(x)\cosh(-x) = \cosh(x) for all xx? (5)

g1(x)=cosh(-x)
g1(x)
cosh(-x)
g2(x)=cosh(x)
g2(x)
Error in lines 1-1 Traceback (most recent call last): File "/cocalc/lib/python3.8/site-packages/smc_sagews/sage_server.py", line 1230, in execute exec( File "", line 1, in <module> NameError: name 'g2' is not defined
plot(g1(x), xmin=-10, xmax=10, ymin=-10, ymax =10) + plot(g2(x), xmin=-10, xmax=10, ymin=-10, ymax =10)
Error in lines 1-1 Traceback (most recent call last): File "/cocalc/lib/python3.8/site-packages/smc_sagews/sage_server.py", line 1230, in execute exec( File "", line 1, in <module> NameError: name 'g2' is not defined

(3b) Explain your answer to (3a) in a complete sentence. (5)

# Yes is it true. Shown in the graph, both g1(x) and g2(x) are equal at all points.

Good analysis.

(4a) What is the limit of cosh(x)\cosh(x) as xx approaches infinity? (5)

# The limit of cosh(x) as x approashes infinity is infinity.

(4b) Is your answer in (4a) the same as if you use the definition of cosh(x)\cosh(x) in terms of exponentials, as given in (2)? Briefly explain. (5)

# Yes. On both graphs, as x approaches infinity, y also approches infinity at the same rate.

(5a) Use Sage to find the derivative of cosh(x)\cosh(x). (5)

derivative(g(x), x)
sinh(x)

(5b) Is your answer to (5a) consistent with the definition sinh(x)=(exex)/2\sinh(x) = (e^x - e^{-x})/2? Briefly explain. (0)

#yes my answer is consistent with sinh(x). the reason is when I calculate the derivative of g(x) i get sinh(x).

Is your answer to (5a) consistent with the definition sinh(x)=(exex)/2\sinh(x) = (e^x - e^{-x})/2 as opposed to other possible definitions of sinh(x)?

︠28e33066-ff64-408a-b1b7-c13f3ba28571︠