| … | |
… | |
| 59 | BEGIN_TEXT |
59 | BEGIN_TEXT |
| 60 | |
60 | |
| 61 | In this problem, we have added a new function to the Parser: ${BTT}log2(x)${ETT}. |
61 | In this problem, we have added a new function to the Parser: ${BTT}log2(x)${ETT}. |
| 62 | (Edit the code to see how this is done.) |
62 | (Edit the code to see how this is done.) |
| 63 | $PAR |
63 | $PAR |
| 64 | Assuming that ${BTT}${DOLLAR}x = Formula('x')${ETT}, they can be used as follows: |
64 | Assuming that ${BTT}${DOLLAR}x = Formula('x')${ETT}, it can be used as follows: |
| 65 | $PAR |
65 | $PAR |
| 66 | |
66 | |
| 67 | \{ParserTable( |
67 | \{ParserTable( |
| 68 | 'Formula("log2(x)")', |
68 | 'Formula("log2(x)")', |
| 69 | 'log2(8)', |
69 | 'log2(8)', |