Thread: Fuzzy Math
View Single Post
  #50   Report Post  
Posted to alt.home.repair
Steve B[_13_] Steve B[_13_] is offline
external usenet poster
 
Posts: 1,954
Default Fuzzy Math


"HeyBub" wrote in message
m...
dadiOH wrote:

$75 + $75 - 0.40 x ($150) = $200.36


Would you or somebody please explain how you can get that answer with
those numbers?

If you do it the way you have it you get $22,440

If you do ($75 + $75) - (0.40 x $150) it works, ditto for $75 + $75 -
(.40 x $150).


Sorry for the confusion. In most mathematical computations, multiplication
and division have a higher precedence than addition or subtraction. A
computer program, or a mathematician, would parse my statement as:

75 + 75 - 0.40 x 150
75 + 75 - 60
150 - 60
90


In the way I phrase computations,

..6(75 + 75) =90

or (75 + 75) - .4(75 + 75) = 90

after which, it would be 90 + 90X = total, X being sales tax %

Anyway, I come up with $90 for two rooms @ $75 per room minus 40%, with tax
added on the end, not the $150.

Mathematically, there is a hierarchy in string computations, but it is far
better to use parentheses, {}, [ ], and other symbols to enclose any
function that is not clearly obvious to a math person.

= (math for therefore) [ (75 + 75) - .4 (150 ) ] + [ % tax ( 150-60) ] =
Sum

Steve