Skip to content

Commit

Permalink
Fix logarithms formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
sophiebits committed Jul 23, 2011
1 parent 6fbf477 commit b07bfad
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions exercises/logarithms_1.html
Expand Up @@ -40,11 +40,11 @@
</div>

<div class="hints">
<p>If <code>log_{b}x=y</code>, then <code>b^y=x</code></p>
<p>If <code>\log_{b}x=y</code>, then <code>b^y=x</code></p>
<p>First, try to write <code><var>number</var></code>, the number we are taking the logarithm of, as a power of <code><var>base</var></code>, the base of the logarithm.</p>
<p><code><var>number</var></code> can be expressed as <code><var>power_string</var></code>.</p>
<p><code><var>number</var></code> can be expressed as <code><var>base</var>^<var>answer</var></code>.</p>
<p><code><var>base</var>^<var>answer</var>=<var>number</var></code>, so <code>log_{<var>base</var>}<var>number</var>=<var>answer</var></code>.</p>
<p><code><var>base</var>^<var>answer</var>=<var>number</var></code>, so <code>\log_{<var>base</var>}<var>number</var>=<var>answer</var></code>.</p>
</div>
</div>
</body>
Expand Down
6 changes: 3 additions & 3 deletions exercises/logarithms_2.html
Expand Up @@ -14,7 +14,7 @@

<div class="problems">
<div>
<p class="problem">Rewrite the following in the form <code>log(c)</code>.</p>
<p class="problem">Rewrite the following in the form log(c).</p>
<p class="question"><code>\log(<var>A</var>) + \log(<var>B</var>)</code></p>
<p class="solution" data-type="regex">^(log\(|)<var>C</var>(\)|)$</p>
<div class="hints">
Expand All @@ -25,7 +25,7 @@
</div>

<div>
<p class="problem">Rewrite in the form log(c)</p>
<p class="problem">Rewrite in the form log(c).</p>
<p class="question"><code>\log(<var>C</var>) - \log(<var>A</var>)</code></p>
<p class="solution" data-type="regex">^(log\(|)<var>B</var>(\)|)$</p>
<div class="hints">
Expand All @@ -36,7 +36,7 @@
</div>

<div>
<p class="problem">Rewrite in the form log(c)</p>
<p class="problem">Rewrite in the form log(c).</p>
<p class="question"><code><var>A</var>\log(<var>B</var>)</code></p>
<p class="solution" data-type="regex">^(log\(|)<var>pow( B, A )</var>(\)|)$</p>
<div class="hints">
Expand Down

0 comments on commit b07bfad

Please sign in to comment.