Can you help me understand the layout for this? Finding the exact partial and then evaluate.
(I was able to get as far as the screenshot but I think I'm doing it wrong)
Assume the function f is defined as f(x, y) = 2 sin x tan y
Use differentiation rules to find the exact partial derivatives βf/βx and βf/βy, and evaluate those exact partial derivatives at (-3.1, 1.56).
Use the finite difference formulas to estimate βf/βx and βf/βy at (-3.1, 1.56) for three different values of the mesh size
h = 0.01
h = 0.001
h = 0.0001
Answer the following questions:
For which partial derivative or {:(delf)/(dely)) is the finite difference approximation consistently more
accurate?
Why is the finite difference approximation for the other partial derivative is consistently less
accurate? (Hint: What happens to the tan y function near y=1.56 ?).
Share a real-world example that might cause similarly poor approximations using this method.
Finding Exact (delf)/(delx) :
f(x,y)=2sinxtany
ΒΏ2tanysinx
(delf)/(delx)=2tanysec^(2)x
Evaluate (-3.1,1.56)
(delf)/(delx)=2tan(-3.1)tan(1.56)
-25716.40893
Finding Exact (delf)/(dely)
f(x,y)=2sinxtany
Answer the following questions:
of of For which partial derivative or is the finite difference approximation consistently more Or Dy accurate? Why is the finite difference approximation for the other partial derivative is consistently less accurate?Hint:What happens to the tan y function near y=1.56?
Share a real-world example that might cause similarly poor approximations using this method
of Finding Exact
f,y=2sintany
2tan ysin
Evaluate -3.1,1.56
of =2tan3.1tan1.56
25716.40893
of 3.Finding Exact dy
f=2sintan