Free Republic
Browse · Search
General/Chat
Topics · Post Article

To: grundle

Ambiguous. The precedence of division and the multiplication of the parenthsized (9+3) is the same, therefore both answers are valid.

The preferred but non-binding left-to-right reading gives 288.


25 posted on 04/12/2011 1:40:20 PM PDT by MortMan (What disease did cured ham used to have?)
[ Post Reply | Private Reply | To 1 | View Replies ]


To: MortMan

“Ambiguous. The precedence of division and the multiplication of the parenthsized (9+3) is the same, therefore both answers are valid.”

Nosir. Joe 6 has it correctly, but I doubt public education teaches students to think before using a calculator these days.


32 posted on 04/12/2011 1:45:18 PM PDT by treetopsandroofs (Had FDR been GOP, there would have been no World Wars, just "The Great War" and "Roosevelt's Wars".)
[ Post Reply | Private Reply | To 25 | View Replies ]

To: MortMan

No, expressed correctly as an improper fraction the result is easier to discern. Any time the order of operations seems confusing, look at the expression as a fraction and remember that the numerator and denominator are resolved independently.


377 posted on 04/12/2011 6:07:07 PM PDT by Melas
[ Post Reply | Private Reply | To 25 | View Replies ]

To: MortMan

Concur.

It appears one is programmed giving precedence to multiplication, division, addition, then subtraction. The parentheses simply offer either a distributive calculation or prior subtotal calculation.

If the intent is to divide by the denominator, then the entire denominator should be in parentheses. Otherwise the parenthetical quantity is shown in the numerator.


463 posted on 04/12/2011 9:59:16 PM PDT by Cvengr (Adversity in life and death is inevitable. Thru faith in Christ, stress is optional.)
[ Post Reply | Private Reply | To 25 | View Replies ]

To: MortMan
Ambiguous. The precedence of division and the multiplication of the parenthsized (9+3) is the same, therefore both answers are valid.

That's why I find it to always be best to explicitly include parentheses to reflect the equation as I want it solved, even if it's "overkill". I don't want to be reliant on an implementation of precedence that may vary from device to device (or even compiler to compiler, for a computer). In any event, I'd rather not think that I know how the machine will interpret it, I'd rather know it will evaluate exactly the way I want it to.

494 posted on 04/13/2011 6:01:08 AM PDT by kevkrom ("Winning The Future" = WTF = What The F*** / "Kinetic Military Action" = KMA = Kiss My A**)
[ Post Reply | Private Reply | To 25 | View Replies ]

Free Republic
Browse · Search
General/Chat
Topics · Post Article


FreeRepublic, LLC, PO BOX 9771, FRESNO, CA 93794
FreeRepublic.com is powered by software copyright 2000-2008 John Robinson