Difference between revisions of "1985 AHSME Problems/Problem 7"
Sevenoptimus (talk | contribs) m (Further improved formatting) |
Sevenoptimus (talk | contribs) m (Improved LaTeX) |
||
Line 1: | Line 1: | ||
==Problem== | ==Problem== | ||
− | In some computer languages (such as APL), when there are no parentheses in an algebraic expression, the operations are grouped from right to left. Thus, <math> a\times b-c </math> in such languages means the same as <math> a(b-c) </math> in ordinary algebraic notation. If <math> a\div b-c+d </math> is evaluated in such a language, the result in ordinary algebraic notation would be | + | In some computer languages (such as APL), when there are no parentheses in an algebraic expression, the operations are grouped from right to left. Thus, <math>a \times b - c</math> in such languages means the same as <math>a(b-c)</math> in ordinary algebraic notation. If <math>a\div b-c+d</math> is evaluated in such a language, the result in ordinary algebraic notation would be |
<math> \mathrm{(A)\ } \frac{a}{b}-c+d \qquad \mathrm{(B) \ }\frac{a}{b}-c-d \qquad \mathrm{(C) \ } \frac{d+c-b}{a} \qquad \mathrm{(D) \ } \frac{a}{b-c+d} \qquad \mathrm{(E) \ }\frac{a}{b-c-d} </math> | <math> \mathrm{(A)\ } \frac{a}{b}-c+d \qquad \mathrm{(B) \ }\frac{a}{b}-c-d \qquad \mathrm{(C) \ } \frac{d+c-b}{a} \qquad \mathrm{(D) \ } \frac{a}{b-c+d} \qquad \mathrm{(E) \ }\frac{a}{b-c-d} </math> |
Latest revision as of 18:06, 19 March 2024
Problem
In some computer languages (such as APL), when there are no parentheses in an algebraic expression, the operations are grouped from right to left. Thus, in such languages means the same as in ordinary algebraic notation. If is evaluated in such a language, the result in ordinary algebraic notation would be
Solution
The rightmost part of the expression is , so would be grouped as , and thus the whole expression would be grouped as .
See Also
1985 AHSME (Problems • Answer Key • Resources) | ||
Preceded by Problem 6 |
Followed by Problem 8 | |
1 • 2 • 3 • 4 • 5 • 6 • 7 • 8 • 9 • 10 • 11 • 12 • 13 • 14 • 15 • 16 • 17 • 18 • 19 • 20 • 21 • 22 • 23 • 24 • 25 • 26 • 27 • 28 • 29 • 30 | ||
All AHSME Problems and Solutions |
The problems on this page are copyrighted by the Mathematical Association of America's American Mathematics Competitions.