Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

please do 2 and use matlab for 2 floating point number systems 1. Determine the number of significant decimal digits and the number of significant

please do 2 and use matlab for 2 image text in transcribed
floating point number systems 1. Determine the number of significant decimal digits and the number of significant binary digits to which each of these two numbers agree, 355/113 and T. finite difference approximation 2. (1st derivative) Let f(x) be a given function and recall the forward difference approximation of f'(o), D+f(x) = f(x+h) f(x) where h > 0 is the step size. (a) Take f(x) = sin 2, r = 7/4, h=2-" for n = 1, 2.....6. Following the example in class, plot the error versus h and make a table with the following format: column 1: h, column 2: D+ f(x), column 3: f'(x) - D+ f(x), column 4: f'(x) - D f(x))/h, column 5: (f'(x) - D+ f()/h2. You may modify the Matlab code given in class. Present at least eight decimal digits (type "format long" in Matlab to get the full 15 digits)

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

Guide To Client Server Databases

Authors: Joe Salemi

2nd Edition

1562763105, 978-1562763107

More Books

Students also viewed these Databases questions

Question

8. Describe how cultural spaces are formed.

Answered: 1 week ago