# Khan/khan-exercises

graphie for comparing_fractions_1

1 parent 944fc31 commit 4c19defe5c3043b7fdafab98f26a0a28f1b4fd52 spicyj committed Jul 15, 2011
Showing with 15 additions and 11 deletions.
1. +15 −11 exercises/comparing_fractions_1.html
 @@ -1,5 +1,5 @@ - + Comparing Fractions 1 @@ -47,12 +47,14 @@

This is like comparing two equally sized pizzas where one is cut into DEN_1 equal slices and the other is cut into DEN_2 equal slices.

-
-
- piechart( [NUM_1, DEN_1 - NUM_1], ["#ee0000", "#999"], 50 ); +
+
+ init({ range: [ [-3, 3], [-3, 3] ], scale: 25 }); + piechart( [NUM_1, DEN_1 - NUM_1], ["#e00", "#999"], 2 );
-
- piechart( [NUM_2, DEN_2 - NUM_2], ["#ee0000", "#999"], 50 ); +
+ init({ range: [ [-3, 3], [-3, 3] ], scale: 25 }); + piechart( [NUM_2, DEN_2 - NUM_2], ["#e00", "#999"], 2 );
@@ -97,12 +99,14 @@

This is like considering two equally sized pizzas that have been cut into DEN_1 equal slices.

Since both pizzas have the same number of slices, all the slice are the same size.

-
-
- piechart( [NUM_1, DEN_1 - NUM_1], ["#ee0000", "#999"], 50 ); +
+
+ init({ range: [ [-3, 3], [-3, 3] ], scale: 25 }); + piechart( [NUM_1, DEN_1 - NUM_1], ["#e00", "#999"], 2 );
-
- piechart( [NUM_2, DEN_2 - NUM_2], ["#ee0000", "#999"], 50 ); +
+ init({ range: [ [-3, 3], [-3, 3] ], scale: 25 }); + piechart( [NUM_2, DEN_2 - NUM_2], ["#e00", "#999"], 2 );