Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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

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

More Books

Students also viewed these Databases questions

Question

identify current issues relating to equal pay in organisations

Answered: 1 week ago