# Khan/khan-exercises

### Subversion checkout URL

You can clone with HTTPS or Subversion.

Older
100644 129 lines (112 sloc) 5.636 kb
 a46a295 Add new exercise: area of parallelograms. osnr authored Jun 27, 2012 1 2 3 4 5 Area of parallelograms 6 7 8 72 73 74
75
76 randFromArray([ 77 ["in", "inch"], 78 ["ft", "foot"], 79 ["m", "meter"], 80 ["cm", "centimeter"], 81 ["", "unit"] 82 ]) 83 84 randRange(1, 8) 85 randRange(1, 8) 86 87 randRangeNonZero(-2, 2) 88 89 B * H 90
91 92
93
94
Suppose a parallelogram has base length B \text{ UNIT} and height H \text{ UNIT}.
95
What is the parallelogram's area?
96 97
a1675a9 Use type=number on more exercises with multiple inputs. cbhl authored Jan 16, 2013 98 K a46a295 Add new exercise: area of parallelograms. osnr authored Jun 28, 2012 99 square plural(UNIT_TEXT) 100
101 102
103
104 graph.p = parallelogram(B, H, UNIT, SH); 105 106 graph.p.drawBase(); 107 graph.p.drawHeight(); 108
109
110

By moving a slice of the parallelogram, we can see that its area is equal to that of a rectangle with the same base and height.

111
112 graph.p.sliceHint(); 113 graph.p.animHint(); 114
115
116

area of rectangle = b \times h

117
118
119 graph.p.drawArea(); 120
121

A = B \times H = K

122
123
124
125
126
127 128
Something went wrong with that request. Please try again.