Mac loves the shape of quarters and is willing to trade money for them, even if he loses value. He tells his brother that he will trade him 3 dimes for a quarter or 7 nickels. He trades for 20 quarters with dimes and 20 quarters with nickels. How many dollars did Mac lose?
Three dimes is equal to $.3 because 3 x .1 = <T>multiply(3, 0.1)=0.30000000000000004
Seven nickels is equal to $.35 because 7 x .05 = <T>multiply(7, 0.05)=0.35000000000000003
Each time he trades with dimes he lose $.05 because .3 - .25 = <T>subtract(0.3, 0.25)=0.04999999999999999
Each time he traded with nickels he lost $.1 because .35 - .25 = <T>subtract(0.35, 0.25)=0.09999999999999998
He lost $1 from trading with dimes because 20 x .05 =<T>multiply(20, 0.05)=1.0
He lost $2 from trading with nickels because 20 x .1 = <T>multiply(20, 0.1)=2.0
He lost $3 total because 1 + 2 = <T>add(1, 2)=3
