no_trig_fun

From WeBWorK_wiki
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