Question

Show that f (x + h)

Show that
f (x + h)

0 0
Answer #1

`Hey,

Note: Brother in case of any queries, just comment in box I would be very happy to assist all your queries

clear, clc
f=@(x) sin(x);
x=pi/3;
exact=-f(x);
h=1e-4;
disp('Approximation of second derivative of sinx at x=pi/3')
app=(f(x+h)-2*f(x)+f(x-h))/h^2
disp('ERROR is');
abs(exact-app)

MATLAB R2018a Search Documentation Log In НOME PLOTS APPS EDITOR PUBLISH VEW Insert fxF Find Files Run Section Go To Compare

Kindly revert for any queries

Thanks.

Know the answer?
Add Answer to:
Show that f (x + h)
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT