Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Avoid question that is already answered

Reviewers: eater

Reviewed By: eater

Differential Revision: http://phabricator.khanacademy.org/D9153
  • Loading branch information...
commit 1eb948070846f27bbd9ec8d04603d07e0be68d1c 1 parent 2a8b2f4
@petercollingridge petercollingridge authored
Showing with 8 additions and 7 deletions.
  1. +8 −7 exercises/line_graph_intuition.html
View
15 exercises/line_graph_intuition.html
@@ -10,12 +10,13 @@
<div class="problems">
<div id="graph-slope" data-weight="1">
<div class="vars">
- <var id="SLOPE,SLOPE_NAME">randFromArray([
- [0, $._("a positive")],
- [1, $._("a negative")],
- [2, $._("a zero")],
- [3, $._("an undefined")]
- ])</var>
+ <var id="SLOPE">rand(4)</var>
+ <var id="SLOPE_NAME">[
+ $._("a positive"),
+ $._("a negative"),
+ $._("a zero"),
+ $._("an undefined")
+ ][SLOPE]</var>
<var id="POINTS">{}</var>
</div>
@@ -332,7 +333,7 @@
</div>
<div id="find-slope-and-yint" data-weight="1">
- <div class="vars" data-ensure="!(M === 1 &amp;&amp; B === 0) &amp;&amp;
+ <div class="vars" data-ensure="!(M === 1 &amp;&amp; B === 1) &amp;&amp;
abs(M) &lt; 10 &amp;&amp; abs(B) &lt; 10 &amp;&amp; INCR &lt; 6">
<var id="X1, X2">randRangeUnique(-8, 8, 2)</var>
<var id="Y1, Y2">randRangeUnique(-8, 8, 2)</var>
Please sign in to comment.
Something went wrong with that request. Please try again.