# Khan/khan-exercises

Add exercises -- +/- fractions with common denominators

marcia committed Jul 16, 2011
1 parent 81e0c90 commit 3be4f320d5f6161233a521185039edac7768f69e
 @@ -0,0 +1,43 @@ + + + + Adding Fractions with Common Denominators + + + +
+
+ randRange( 1, 9 ) + randRange( 1, 9 ) + randRange( N1 + N2 + 1, 20 ) +
+ +
+
+

fraction( N1, D ) + fraction( N2, D ) = ?

+
( N1 + N2 ) / D
+
+
+ +
+
+
+ init({ range: [ [-3, 3], [-3, 3] ], scale: 25 }); + piechart( [ N1, D - N1 ], ["#e00", "#999"], 2 ); +
+
+ init({ range: [ [-3, 3], [-3, 3] ], scale: 25 }); + piechart( [ N2, D - N2 ], ["#e00", "#999"], 2 ); +
+
+
+

+

fraction( N1, D ) + fraction( N2, D ) = fraction( N1 + N2, D )

+
+
+

Simplify.

+

fraction( N1 + N2, D ) = fractionReduce( N1 + N2, D )

+
+
+ +
 @@ -0,0 +1,43 @@ + + + + Subtracting Fractions with Common Denominators + + + +
+
+ randRange( 2, 10 ) + randRange( 1, N1 - 1 ) + randRange( 10, 20 ) +
+ +
+
+

fraction( N1, D ) - fraction( N2, D ) = ?

+
( N1 - N2 ) / D
+
+
+ +
+
+
+ init({ range: [ [-3, 3], [-3, 3] ], scale: 25 }); + piechart( [ N1, D - N1 ], ["#e00", "#999"], 2 ); +
+
+ init({ range: [ [-3, 3], [-3, 3] ], scale: 25 }); + piechart( [ N2, D - N2 ], ["#e00", "#999"], 2 ); +
+
+
+

Subtract the numerators.

+

fraction( N1, D ) - fraction( N2, D ) = fraction( N1 - N2, D )

+
+
+

Simplify.

+

fraction( N1 - N2, D ) = fractionReduce( N1 - N2, D )

+
+
+ +