Question: 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 please do 2 and use matlab for 2 floating point number systems

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

1 Expert Approved Answer
Step: 1 Unlock

To compl... View full answer

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!