Skip to content

Commit

Permalink
Equation of a line updated to have an equation rather than m and b
Browse files Browse the repository at this point in the history
  • Loading branch information
Christi authored and beneater committed Jan 2, 2012
1 parent 7fab1d8 commit b71c0fb
Showing 1 changed file with 9 additions and 6 deletions.
15 changes: 9 additions & 6 deletions exercises/equation_of_a_line.html
Expand Up @@ -8,6 +8,9 @@
.reading span {
width: 40px;
}
#answer_area .short input[type=text] {
width: 60px;
}
</style>
</head>
<body>
Expand Down Expand Up @@ -52,16 +55,16 @@
</var>
</div>
<p>A line goes through the following points, and the equation of that line is written in <code>y = mx + b</code> form.</p>
<p class="question">What are the values of the slope <code>m</code> and the <code>y</code>-intercept <code>b</code>?</p>
<p class="question">What is the equation of the line?</p>
<div class="fake_header reading">
<span>x</span><span>y</span>
</div>
<div class="fake_row reading" data-each="COORDS as i, coord">
<span><var>coord[ 0 ]</var></span><span><var>coord[ 1 ][ 1 ] === 1 ? coord[ 1 ][ 0 ] : coord[ 1 ].join( "/" )</var></span>
</div>
<div class="solution" data-type="multiple">
<p><code>m</code> = <span class="sol"><var>M</var></span></p>
<p><code>b</code> = <span class="sol"><var>B</var></span></p>
<p class="short"><code>y =</code> <span class="sol"><var>M</var></span><code>\enspace\cdot\enspace x + </code>
<span class="sol"><var>B</var></span></p>
</div>
<div class="hints">
<div>
Expand Down Expand Up @@ -122,7 +125,7 @@
<div class="question">
<p>The equation of the line through the points <code>(<var>X1</var>, <var>Y1</var>)</code> and <code>(<var>X2</var>, <var>Y2</var>)</code> is written in the form <code>y = mx + b</code>.</p>

<p>What are the values of the slope <code>m</code> and the <code>y</code>-intercept <code>b</code>?</p>
<p>What is the equation of the line?</p>
<div class="graphie" data-if="SHOW_GRAPH">
graphInit({
range: 10,
Expand All @@ -142,8 +145,8 @@
</div>

<div class="solution" data-type="multiple">
<p><code>m</code> = <span class="sol"><var>M</var></span></p>
<p><code>b</code> = <span class="sol"><var>B</var></span></p>
<p class="short"><code>y =</code> <span class="sol"><var>M</var></span><code>\enspace\cdot\enspace x + </code>
<span class="sol"><var>B</var></span></p>
</div>
<div class="hints">
<div class="graphie" data-if="!SHOW_GRAPH">
Expand Down

0 comments on commit b71c0fb

Please sign in to comment.