Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

USING MATLAB PLEASE (a) With increment h = 0.1, what is the percent fractional error (compared to the actual derivative) of the second-order-accurate centered finite-difference

USING MATLAB PLEASE

image text in transcribed

(a) With increment h = 0.1, what is the percent fractional error (compared to the actual derivative) of the second-order-accurate centered finite-difference estimate of the derivative of f(x) = cos(x) at x = 1? (b) Repeat for the derivative estimated by differentiating the interpolat- ing cubic polynomial (using polyfit, polyder, polyval in Matlab) that goes through the function values at x = 0.7,0.9, 1.1, 1.3 (a) With increment h = 0.1, what is the percent fractional error (compared to the actual derivative) of the second-order-accurate centered finite-difference estimate of the derivative of f(x) = cos(x) at x = 1? (b) Repeat for the derivative estimated by differentiating the interpolat- ing cubic polynomial (using polyfit, polyder, polyval in Matlab) that goes through the function values at x = 0.7,0.9, 1.1, 1.3

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Database Marketing The Ultimate Marketing Tool

Authors: Edward L. Nash

1st Edition

0070460639, 978-0070460638

Students also viewed these Databases questions