NAME

contextRationalExponent.pl - allows the requirement of simplified rational exponent answers. May be a misnomer since nothing requires exponents to be rational.

DESCRIPTION

This code is a copy of contextLimitedRadical.pl, with the following changes: - no need for contextLimitedPowers.pl, since we need to use bizarro power, so that macro is removed - name of the context changed to RationalExponent - set class of ^ and ** to bizarro - removed LimitedPowers::OnlyPositiveIntegers($context) call - set bizarroPow flags in answer checking (on, then off) - undefined sqrt and root (after root is added to the context). These can be redefined by a problem author if desired. - added special messages if sqrt or root are used when they were undefined