Forum archive 2000-2006

Michael Gage - exact_no_trig

Michael Gage - exact_no_trig

by Arnold Pizer -
Number of replies: 0
inactiveTopicexact_no_trig topic started 8/15/2004; 4:34:59 PM
last post 8/15/2004; 4:34:59 PM
userMichael Gage - exact_no_trig  blueArrow
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
must_have_filter
no_trig

Macro Definition File

PGasu.pl

 

<| Post or View Comments |>