Log Message:
-----------
Added some comments about how to replace this functionality by using Contexts.
Modified Files:
--------------
pg/macros:
PGasu.pl
Revision Data
-------------
Index: PGasu.pl
===================================================================
RCS file: /webwork/cvs/system/pg/macros/PGasu.pl,v
retrieving revision 1.8
retrieving revision 1.9
diff -Lmacros/PGasu.pl -Lmacros/PGasu.pl -u -r1.8 -r1.9
--- macros/PGasu.pl
+++ macros/PGasu.pl
@@ -118,6 +118,11 @@
This is useful if you want students to report the value of sin(pi/4),
but you don't want to allow "sin(pi/4)" as the answer.
+A similar effect can be accomplished with Contexts() by undefining
+the trig functions.
+See http://webwork.maa.org/wiki/Modifying_contexts_%28advanced%29#.282.29_Functions
+
+
=cut
# ^function no_trig_fun
@@ -203,6 +208,10 @@
Second argument is optional, and tells us whether yes or no
Third argument is the error message to produce (if any).
+A similar effect can be accomplished with Contexts() by undefining
+the trig functions.
+See http://webwork.maa.org/wiki/Modifying_contexts_%28advanced%29
+
=cut
|