Question: Show your work and use as many words as possible to make sure it is clear what you do and, more importantly, why. Please submit

Show your work and use as many words as possible to make sure it is clear what you do and, more
importantly, why. Please submit a single hw02.pdf for your work on paper.
1. Convert the binary number 1010.011 to the decimal format.
2. Find the standard binary form of 1010.011.
3. Convert the decimal number -13.15625 to the binary format.
4. Find the standard binary form of -13.15625.
5. For the 64-bit representation of -13.15625, give sign, mantissa, and exponent separately.
6. What is the next 64-bit number after the binary number 1010.011?
7. What is next 64-bit number before -13.15625?
8. Assuming f (x) and f (x) are given functions, use Taylor series
f (x0+ h)= f (x0)+ hf (x0)+ f (x0)h2/2!+ f (c)h3/3!
which is valid for a c such that x0<= c <= x0+h, to derive an approximate formula for the
second order derivative f at the point x0. State explicitly what is the approximation
and what is the error of the formula. Hint: error is what is dropped in the answer.
Now implement your formula in MATLAB for f (x)= x cos(x) and f (x)= cos(x)
x sin(x) at x0=\pi /2. Report the smallest h such that the formula does not suffer from
round-offs and preserves its order of convergence (by the way, what is it?). Submit
hw02q8.m. Hint: to evaluate the error, you will need to calculate f (x) by hand.
2

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!