Question: Finite precision. Given a sufficiently smooth two - dimensional function f , the purpose of this exercise is to evaluate the accuracy of the quantity

Finite precision. Given a sufficiently smooth two-dimensional function f, the purpose of this
exercise is to evaluate the accuracy of the quantity
Q(h)-=f(x+h,y)+f(x-h,y)+f(x,y+h)+f(x,y-h)-4f(x,y)h2
as an approximation of the laplacian of f at x and y.
Use Matlab (or python) to numerically determine the optimal value of h for f (x, y)= sin(x+y) evaluated at x =\pi /8 and y =\pi /8. Plot the errors.
 Finite precision. Given a sufficiently smooth two-dimensional function f, the purpose

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!