# Khan/khan-exercises

### Subversion checkout URL

You can clone with HTTPS or Subversion.

Older
100644 101 lines (100 sloc) 4.621 kb
 41183eb Add exercise -- distributive property marcia authored Sep 18, 2011 1 ed2d8a6 Add a replace the symbol distributive property problem type marcia authored Sep 27, 2011 2 41183eb Add exercise -- distributive property marcia authored Sep 19, 2011 3 65eec09 Content-Type meta tag for libxml2 compatibility spicyj authored Jan 4, 2012 4 41183eb Add exercise -- distributive property marcia authored Sep 19, 2011 5 Distributive property 6 7 8 9
10
ed2d8a6 Add a replace the symbol distributive property problem type marcia authored Sep 27, 2011 11
12
13 randRangeUnique( 2, 10, 3 ) 14 A * ( B + C ) 15
24ba7ea changed wording on question so clarify for bug 7100 Lucy Bain authored Nov 26, 2011 16

Use distribution to solve:

41183eb Add exercise -- distributive property marcia authored Sep 19, 2011 17

A\times(B + C)

18

RESULT

19
20
21

Each row has B + C = B+C rectangles, and there are A rows.

22
23 init({ 24 range: [ [ 0, 1 ], [ 0, A ] ], 25 scale: [ 180, 30 ] 26 }); 27 rectchart( [ B, C ], [ "#FFA500", "#6495ED" ], A - 1 ); 28 for ( var i = 0; i < A - 1; i++ ) { 29 rectchart( [ B, C ], [ "#FFCF22", "#85B7FF" ], i); 30 } 31
32
33

Counting by color:

34

Number of orange rectangles: A \times B = A * B

35

Number of blue rectangles: A \times C = A* C

36

Total number of rectangles: A * B + A * C = RESULT

37

Counting by row:

38

Number of rows: A

39

Number of rectangles in a row: B + C = B + C

40

Total number of rectangles: A \times B + C = RESULT

98d4034 Distributive tweak marcia authored Sep 18, 2011 41
42

Both ways of counting result in the same number, and this is known as the distributive property.

43

(A \times B) + (A \times C) = A\times(B + C)

ed2d8a6 Add a replace the symbol distributive property problem type marcia authored Sep 27, 2011 44
45
46
47
48
49 randRangeUnique( 2, 10, 3 ) 50 NUMS 51 A * ( B + C ) 52 binop( 1 ) 53 randRange( 0, 2 ) 54 55 (function() { 56 return jQuery.map( NUMS, function( el, i ) { fab2c19 Run JSHint spicyj authored Jan 14, 2012 57 if ( i === SWAP_INDEX ) { ed2d8a6 Add a replace the symbol distributive property problem type marcia authored Sep 27, 2011 58 return SYMBOL; 59 } else { 60 return el; 61 } 62 }); 63 })() 64 65 NUMS[ SWAP_INDEX ] 66
67

Using the picture below as a guide, what number could replace SYMBOL?

68

A\times(B + C) = ( SYM_A \times SYM_B ) + ( SYM_A \times SYM_C )

69
70 init({ 71 range: [ [ 0, 1 ], [ 0, A ] ], 72 scale: [ 180, 30 ] 73 }); 74 rectchart( [ B, C ], [ "#FFA500", "#6495ED" ], A - 1 ); 75 for ( var i = 0; i < A - 1; i++ ) { 76 rectchart( [ B, C ], [ "#FFCF22", "#85B7FF" ], i); 77 } 78
79

There are A rows, and each row has B + C = B+C rectangles.

80

MISSING

81
82

Counting by color:

83

Number of orange rectangles: A \times B = A * B

84

Number of blue rectangles: A \times C = A* C

85

Total number of rectangles: A * B + A * C = RESULT

86

Counting by row:

87

Number of rows: A

88

Number of rectangles in a row: B + C = B + C

89

Total number of rectangles: A \times B + C = RESULT

90
91

Both ways of counting result in the same number, and this is known as the distributive property.

92

(A \times B) + (A \times C) = A\times(B + C)

93

Thus the symbol SYMBOL could be replaced with MISSING.

94
41183eb Add exercise -- distributive property marcia authored Sep 19, 2011 95
96
97
98
99 100
Something went wrong with that request. Please try again.