Introduction to Numerical Analysis Using MATLAB

| 1. | Convert the following binary numbers to decimal form: |
|
| 2. | Convert the following binary numbers to decimal form: | |
| 3. | Find the first five binary digits of (0.1) 10. Obtain values for the absolute and relative errors in yours results. |
|
| 4. | Convert the following:
| |
| 5. | What is the absolute error in approximating 1/3 by 0.3333? What is the corresponding relative error? |
|
| 6. | Evaluate the absolute error in each of the following calculations and hence give the answer to a suitable degree of accuracy:
| |
| 7. | Find the absolute and relative errors in approximating ? by 3.1416. What are the corresponding errors in the approximation 100 ? ?314.16? |
|
| 8. | Calculate the error, relative error, and number of significant digits in the following approximations, with p ?x:
| |
| 9. | Write each of the following numbers in (decimal) floating-point form, starting with length m and exponent e: |
|
| 10. | Find the absolute error in each of the following calculations (all numbers are rounded):
| |
| 11. | Express the base of natural logarithm e as a normalized floating-point number, using both chopping and symmetric rounding for each of the following systems:
|