Difference between revisions of "No trig fun"

From WeBWorK_wiki
Jump to navigation Jump to search
(from ur manpages)
 
(No difference)

Latest revision as of 20:47, 18 November 2009


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