Skip to content


Subversion checkout URL

You can clone with
Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

62 lines (51 sloc) 2.192 kB
<!DOCTYPE html>
<html data-require="math math-format">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Dividing fractions 0.5</title>
<script src="../khan-exercise.js"></script>
<div class="exercise">
<div class="vars" data-ensure="getGCD(N1, D1) === 1 && getGCD(N2, D2) === 1">
<var id="N1">randRange(1, 9)</var>
<var id="D1">randRange(2, 9)</var>
<var id="N2">randRange(1, 9)</var>
<var id="D2">randRange(2, 9)</var>
<var id="GCD1">getGCD( N1, N2 )</var>
<var id="SIMP_N1">N1 / GCD1</var>
<var id="SIMP_N2">N2 / GCD1</var>
<var id="GCD2">getGCD( D1, D2 )</var>
<var id="SIMP_D1">D1 / GCD2</var>
<var id="SIMP_D2">D2 / GCD2</var>
<div class="problems">
<div class="problem">Reduce to lowest terms:</div>
<div class="question">
<p><code>\displaystyle \frac{<var>N1</var>}{<var>D1</var>} \div \frac{<var>N2</var>}{<var>D2</var>} = {?}</code></p>
<div class="solution" data-type="rational"><var>(N1 * D2) / (D1 * N2)</var></div>
<div class="hints">
<p>Turn into a multiplication problem:</p>
<p><code>\displaystyle {} = \frac{<var>N1</var>}{<var>D1</var>} \times \frac{<var>D2</var>}{<var>N2</var>}</code></p>
<div data-if="GCD1 !== 1 || GCD2 !== 1">
<p>Reduce terms with common factors:</p>
<p><code>\displaystyle {} = \frac{<var>SIMP_N1</var>}{<var>SIMP_D1</var>} \times \frac{<var>SIMP_D2</var>}{<var>SIMP_N2</var>}</code></p>
<div data-if="SIMP_N1 / SIMP_D1 !== 1 && SIMP_N2 / SIMP_D2 !== 1">
<p>Combine into one fraction:</p>
<p><code>\displaystyle {} = \frac{<var>SIMP_N1</var> \times <var>SIMP_D2</var>}{<var>SIMP_D1</var> \times <var>SIMP_N2</var>}</code></p>
<p><code>\displaystyle {} = <var>fractionReduce(N1* D2, D1 * N2)</var></code></p>
Jump to Line
Something went wrong with that request. Please try again.