15 Marks Deadline November 10, 2024 11:59 PM
<aside>
πΒ Submission form Q1 πΒ β https://forms.gle/7EXGU7YL43HSJDa1A
</aside>
Three number representations are -
- (Conversion 01) Standard Format: $\pm (0.d_1d_2d_3\dots)_\beta\times \beta^e$, where $d_1\ne 0$
- (Conversion 02) Normalised Format: $\pm (1.d_1d_2d_3\dots)_\beta\times \beta^e$
- (Conversion 03) Denormalised Format: $\pm (0.1d_1d_2d_3\dots)_\beta\times \beta^e$
Question 01
Consider a number system to have the following properties: $\beta = 2, m = 3 \text \ {and} β3β€ e β€ 3$. Now answer the following three questions for all three convensions.
- Find the maximum non negative number in the number system (write your answer in base 10 as well). [2 Marks]
- Find the minimum non negative number in the number system (write your answer in base 10 as well). [2 Marks]
- Find total how many numbers that can be represented through the number system. [1 Marks]
**ANSWERING FORMAT**
Answer to question 1(a):
Convension 01: maximum non-negative = (?)β x 2^? = (?)ββ
Convension 02: maximum non-negative = (?)β x 2^? = (?)ββ
Convension 03: maximum non-negative = (?)β x 2^? = (?)ββ
Question 02
Consider $\beta = 2, m = 6, -3<e<3$ to be a number representation system.
- Compute the value of machine epsilon for the above mentioned system in Denomalised form and Standard form. [3 Marks]
- If we change the value of $e_{min} = -1\ \text{and} \ e_{max} = 10$ will that affect the value of machine epsilon. [2 Marks]
Question 03
Consider the quadratic equation in the form, $5x^2 β 70x + 4 = 0$. While calculating, at each step consider upto 5 Significant digit.
- Find the actual roots. [1 Marks]
- Find out where the loss of significance occurs when you calculate the roots. [2 Marks]
- Show that the roots evaluated in the previous part do not satisfy the fundamental properties of a polynomial. [1 Marks]
- Evaluate the correct roots such that loss of significance does not occur. [1 Marks]