172k views
0 votes
Write down the floating point representation of a given real number x in a decimal system with precision t=4 , using (i) chopping and (ii) rounding.

1 Answer

3 votes

Answer:

explained

Step-by-step explanation:

1) chopping

preccision t= 4


x=  d_1d_2d_3...........d_td_(t+1)........m

so ignore all the digits d_t>4 after decimal

example 12.264589234 is chopped to 12.2645

2)Rounding

-Round to nearest and when tie's round to nearest even digit in the required position

-Round to nearest, when ties round away from zero.

-round up 0.68 →0.7

-round down 0.14→ 0.1

-round towards zero.

User Gareth Burrows
by
6.2k points