Browse files

Binomial Expansion: Fix the randRange instead of adding data-ensure

Auditors: eater, alpert
  • Loading branch information...
1 parent 1e33725 commit b85848bd1bfd2000993d43fb9650df2b67e4c178 @cbhl cbhl committed Feb 25, 2013
Showing with 2 additions and 2 deletions.
  1. +2 −2 exercises/binomial_expansion.html
View
4 exercises/binomial_expansion.html
@@ -14,13 +14,13 @@
<div class="exercise">
<div class="problems">
<div>
- <div class="vars" data-ensure="SOLUTION < 100 && EXPONENT < 5">
+ <div class="vars" data-ensure="SOLUTION < 100">
<var id="TERM1_COEF">
<!-- 80% of the time, the coefficient should be 1 -->
randRangeWeightedExclude(1, 3, 1, 0.8, [0])
</var>
<var id="TERM2">randRange(1, 3)</var>
- <var id="EXPONENT">randRange(3, 5)</var>
+ <var id="EXPONENT">randRange(3, 4)</var>
<var id="WHICH_TERM">randRange(1, EXPONENT)</var>
<var id="TERM_STRING">
EXPONENT === WHICH_TERM ? "x" :

0 comments on commit b85848b

Please sign in to comment.