Question #ed60c

1 Answer
Mar 21, 2017

3.53.5

Explanation:

This new first part is in response to a query.

color(blue)("Additional explanation: demonstration of rounding by example")Additional explanation: demonstration of rounding by example
I chose to use the number 23.42123.421 as the starting point for my example

Round to 2 decimal places

23.42color(red)(1) ->23.421round down as color(red)( 1) <5 ->23.421<523.42
23.42color(red)(2) ->23.422round down as color(red)( 2) <5 ->23.422<523.42
23.42color(red)(3) ->23.423round down as color(red)( 3) <5 ->23.423<523.42
23.42color(red)(4) ->23.424round down as color(red)( 4) <5 ->23.424<523.42

23.42color(red)(5) ->23.425round up as color(red)( 5) >=5 ->23.435523.43
23.42color(red)(6) ->23.426round up as color(red)( 6) >=5 ->23.436523.43
23.42color(red)(7) ->23.427round up as color(red)( 7) >=5 ->23.437523.43
23.42color(red)(8) ->23.428round up as color(red)( 8) >=5 ->23.438523.43
23.42color(red)(9) ->23.429round up as color(red)( 9) >=5 ->23.439523.43

23.43color(red)(0) ->23.430round down as color(red)( 0) <5 ->23.430<523.43
23.43color(red)(1) ->23.431round down as color(red)( 1) <5 ->23.431<523.43
23.43color(red)(2) ->23.432round down as color(red)( 2) <5 ->23.432<523.43
23.43color(red)(3) ->23.433round down as color(red)( 3) <5 ->23.433<523.43
23.43color(red)(4) ->23.434round down as color(red)( 4) <5 ->23.434<523.43

23.43color(red)(5) ->23.435round up as color(red)( 5) >=5 ->23.445523.44
23.43color(red)(6) ->23.436round up as color(red)( 6) >=5 ->23.446523.44

And so on:

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
color(blue)("Answering the question")Answering the question

By calculator 2sqrt(3) = 3.46410....

The dots indicate that the digits go on for a very long time.

As we need the last digit to be the 10^("ths"), the cut off point is:

color(green)(3.4color(red)(|)6410....)
color(white)(3.4)color(red)(uarr)
color(red)("Cut off point")

We now consider the 3 units+4/10+6/100

The digit to the right is 6. As this satisfies the condition of 5 or more we round up the 4 by 1 and consider all the digits to the right of the cut off point as 0's:

color(green)(3.5000..) = 3.5