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)
e^(-x)
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.

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.

#f1(x) is the graph that starts at 0 along the x axis and goes to positive infinity #f2(x) is the graph that starts at positive infinity and goes to 0 along the x axis #f3(x) is the graph that is a parabola %hide %md <font color="green">(2) The function $f(x) = (e^x + e^{-x})/2$ is called the hyperbolic cosine function and can be written in the equivalent form $g(x) = \cosh(x)$.

(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
g(x)=cosh(x)
g(x)
cosh(x)

(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.

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.

#cosh(3) is approximately equal to 10.

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

g1(x)=cosh(-x)
g1(x)
cosh(-x)
g2(x)=cosh(x)
g2(x)
cosh(x)
plot(g1(x), xmin=-10, xmax=10, ymin=-10, ymax =10) + plot(g2(x), xmin=-10, xmax=10, ymin=-10, ymax =10)

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

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

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

# 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.

# 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).

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.

#yes my answer is consistent with sinh(x). the reason is when I calculate the derivative of g(x) i get sinh(x). ︠a8ac24aa-f12b-400e-bb8b-9ae5c3ca32b5︠ ︠d7935f98-539a-4052-ac0f-4c169554c48c︠ ︠28e33066-ff64-408a-b1b7-c13f3ba28571︠