[system] / trunk / webwork2 / doc / parser / extensions / 1-function.pg Repository:
ViewVC logotype

Diff of /trunk/webwork2/doc/parser/extensions/1-function.pg

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 2572 Revision 2573
59BEGIN_TEXT 59BEGIN_TEXT
60 60
61In this problem, we have added a new function to the Parser: ${BTT}log2(x)${ETT}. 61In 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
64Assuming that ${BTT}${DOLLAR}x = Formula('x')${ETT}, they can be used as follows: 64Assuming 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)',

Legend:
Removed from v.2572  
changed lines
  Added in v.2573

aubreyja at gmail dot com
ViewVC Help
Powered by ViewVC 1.0.9