Skip to content
Fetching contributors…
Cannot retrieve contributors at this time
89 lines (85 sloc) 3.72 KB
<!DOCTYPE html>
<html data-require="math math-format expressions">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>One step equations</title>
<script data-main="../local-only/main.js" src="../local-only/require.js"></script>
</head>
<body>
<div class="exercise">
<div class="vars">
<var id="X">randVar()</var>
<var id="A">randRange(1, 29)</var>
<var id="B">randRange(A + 1, 30)</var>
</div>
<p class="question">Solve for <code><var>X</var></code>:</p>
<div class="solution" data-type="multiple">
<p><code><var>X</var>=</code> <span class="sol" data-forms="integer"><var>B - A</var></span></p>
</div>
<div class="problems">
<div id="a-x-eq-b">
<p class="problem"><code><var>A</var> + <var>X</var> = <var>B</var></code></p>
<div class="hints" data-apply="prependContents">
<div>
<p><span class="hint_red">Subtract <code><var>A</var></code></span> from both sides:</p>
<p><code>\qquad
\begin{eqnarray}
<var>A</var> + <var>X</var> &amp;=&amp; <var>B</var> \\ \\
<var>A</var> + <var>X</var> \red{- <var>A</var>} &amp;=&amp; <var>B</var> \red{- <var>A</var>}
\end{eqnarray}
</code></p>
</div>
</div>
</div>
<div id="x-a-eq-b">
<p class="problem"><code><var>X</var> + <var>A</var> = <var>B</var></code></p>
<div class="hints" data-apply="prependContents">
<div>
<p><span class="hint_red">Subtract <code><var>A</var></code></span> from both sides:</p>
<p><code>\qquad
\begin{eqnarray}
<var>X</var> + <var>A</var> &amp;=&amp; <var>B</var> \\ \\
<var>X</var> + <var>A</var> \red{- <var>A</var>} &amp;=&amp; <var>B</var> \red{- <var>A</var>}
\end{eqnarray}
</code></p>
</div>
</div>
</div>
<div id="b-eq-a-x">
<p class="problem"><code><var>B</var> = <var>A</var> + <var>X</var></code></p>
<div class="hints" data-apply="prependContents">
<div>
<p><span class="hint_red">Subtract <code><var>A</var></code></span> from both sides:</p>
<p><code>\qquad
\begin{eqnarray}
<var>B</var> &amp;=&amp; <var>A</var> + <var>X</var> \\ \\
<var>B</var> \red{- <var>A</var>} &amp;=&amp; <var>A</var> + <var>X</var> \red{- <var>A</var>}
\end{eqnarray}
</code></p>
</div>
</div>
</div>
<div id="b-eq-x-a">
<p class="problem"><code><var>B</var> = <var>X</var> + <var>A</var></code></p>
<div class="hints" data-apply="prependContents">
<div>
<p><span class="hint_red">Subtract <code><var>A</var></code></span> from both sides:</p>
<p><code>\qquad
\begin{eqnarray}
<var>B</var> &amp;=&amp; <var>X</var> + <var>A</var> \\ \\
<var>B</var> \red{- <var>A</var>} &amp;=&amp; <var>X</var> + <var>A</var> \red{- <var>A</var>}
\end{eqnarray}
</code></p>
</div>
</div>
</div>
</div>
<div class="hints">
<div>
<p>Simplify.</p>
<p><code>\qquad <var>X</var> = <var>B - A</var></code></p>
</div>
</div>
</div>
</body>
</html>
Something went wrong with that request. Please try again.