# publicKhan/khan-exercises

### Subversion checkout URL

You can clone with HTTPS or Subversion.

Older
100644 55 lines (53 sloc) 1.741 kb
 ``` 3be4f320 » marcia ``` 2011-07-15 Add exercises -- +/- fractions with common denominators 1 2 3 ``` 72418b80 » jeresig ``` 2011-07-28 Add meta charset to all HTML pages. 4 ``` 07d95d39 » spicyj ``` 2011-07-22 Rename EVERYTHING; closes #323. 5 Subtracting fractions with common denominators ``` 3be4f320 » marcia ``` 2011-07-15 Add exercises -- +/- fractions with common denominators 6 7 8 9
10
11 randRange( 2, 10 ) 12 randRange( 1, N1 - 1 ) 13 randRange( 10, 20 ) 14
15 16
17
``` d77f1ac8 » igorT ``` 2011-07-26 made exercise subtracting fractions nicer so it keeps the pies you we… 18
``` 3f604011 » spicyj ``` 2011-07-27 = ? formatting 19

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

``` d77f1ac8 » igorT ``` 2011-07-26 made exercise subtracting fractions nicer so it keeps the pies you we… 20
``` b5754b60 » jruberg ``` 2011-08-17 datatype 'improper' -> 'rational'. fixes #1075. 21
( N1 - N2 ) / D
``` 3be4f320 » marcia ``` 2011-07-15 Add exercises -- +/- fractions with common denominators 22
23
24 25
``` 800e9f95 » igorT ``` 2011-07-26 fix #267 26
``` 3be4f320 » marcia ``` 2011-07-15 Add exercises -- +/- fractions with common denominators 27 init({ range: [ [-3, 3], [-3, 3] ], scale: 25 }); ``` 800e9f95 » igorT ``` 2011-07-26 fix #267 28 PIECH = piechart( [ N1, D - 1 ], ["#e00", "#999"], 2 ); ``` 3be4f320 » marcia ``` 2011-07-15 Add exercises -- +/- fractions with common denominators 29
30
``` d77f1ac8 » igorT ``` 2011-07-26 made exercise subtracting fractions nicer so it keeps the pies you we… 31
32 init({ range: [ [-3, 3], [-3, 3] ], scale: 25 }); 33 piechart( [ N1-N2,N2, D - 1 ], ["#e00","#122", "#999"], 2 ); 34
``` 3be4f320 » marcia ``` 2011-07-15 Add exercises -- +/- fractions with common denominators 35

Subtract the numerators.

``` 800e9f95 » igorT ``` 2011-07-26 fix #267 36
37
``` d77f1ac8 » igorT ``` 2011-07-26 made exercise subtracting fractions nicer so it keeps the pies you we… 38
39 init({ range: [ [-3, 3], [-3, 3] ], scale: 25 }); 40 piechart( [ N1 - N2, D - 1 ], ["#e00", "#999"], 2 ); 41
``` 3be4f320 » marcia ``` 2011-07-15 Add exercises -- +/- fractions with common denominators 42

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

43
44
45

Simplify.

``` d77f1ac8 » igorT ``` 2011-07-26 made exercise subtracting fractions nicer so it keeps the pies you we… 46
47 init({ range: [ [-3, 3], [-3, 3] ], scale: 25 }); 48 piechart( [ reduce(N1 - N2 , D)[0] , reduce(N1 - N2, D)[1] - 1 ], ["#e00", "#999"], 2 ); 49
``` 3be4f320 » marcia ``` 2011-07-15 Add exercises -- +/- fractions with common denominators 50

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

51
52
``` 2c3690b7 » spicyj ``` 2011-07-23 Make everything validate 53
``` 3be4f320 » marcia ``` 2011-07-15 Add exercises -- +/- fractions with common denominators 54 55
Something went wrong with that request. Please try again.