| … | |
… | |
| 56 | Context()->texStrings; |
56 | Context()->texStrings; |
| 57 | $al = new_aligned_list(ans_rule_len=>20, numbered=>0, tex_spacing=>"5pt"); |
57 | $al = new_aligned_list(ans_rule_len=>20, numbered=>0, tex_spacing=>"5pt"); |
| 58 | $al->qa( |
58 | $al->qa( |
| 59 | "\(y^x\)", Real("$ansa")->cmp(), |
59 | "\(y^x\)", Real("$ansa")->cmp(), |
| 60 | "\(\displaystyle \left( \frac{y}{z} \right)^x \)", Compute("$ansbnum/$ansbden")->cmp(), |
60 | "\(\displaystyle \left( \frac{y}{z} \right)^x \)", Compute("$ansbnum/$ansbden")->cmp(), |
| 61 | "\( x^{-z} \)", Compute("1/$anscden")->cmp(), |
61 | "\( x^{-z} \)", Compute("$anscden")->cmp(), |
| 62 | ); |
62 | ); |
| 63 | Context()->normalStrings; |
63 | Context()->normalStrings; |
| 64 | |
64 | |
| 65 | Context()->operators->undefine("+","-","*","^","**"); |
65 | Context()->operators->undefine("+","-","*","^","**"); |
| 66 | Context()->functions->disable("All"); |
66 | Context()->functions->disable("All"); |