no_trig_fun

From WeBWorK_wiki
Revision as of 20:47, 18 November 2009 by Aubreyja (talk | contribs) (from ur manpages)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search


no_trig_fun

Description

This is a standard function evalutor which does not allow the trig functions sin, cos, tan, sec, csc, cot in the answer.

Syntax

no_trig_fun(ans_string)

Params

ans_string: A string which evaluates to a function

Action

Produces an answer evaluator which checks student's answer as a function. Student's answer cannot contain one of the trig functions.

Returns

an answer evaluator