exact_no_trig | topic started 8/15/2004; 4:34:59 PM last post 8/15/2004; 4:34:59 PM |
Michael Gage - exact_no_trig 8/15/2004; 4:34:59 PM (reads: 1184, responses: 0) |
Description This is a standard number evaluator which does not allow the trig functions sin, cos, tan, sec, csc, cot in the answer, and does not allow a decimal answer. Useful if you want to require an answer of the form 1/sqrt(2) or pi/2. Syntax exact_no_trig(ans_string) Params ans_string: A string which evaluates to a number Action Produces an answer evaluator which checks student's answer as a number. Student's answer cannot contain one of the trig functions or a decimal point Returns an answer evaluator See Also no_trig_fun Macro Definition File PGasu.pl
|