# Khan/khan-exercises

Whitespace :)

1 parent a897b82 commit c2cb4db0ebe89f33067e0104cc3b7d62edb6964b sophiebits committed Dec 8, 2011
Showing with 1,037 additions and 1,042 deletions.
1. +3 −3 build/kathjax-config.js
9. +2 −2 exercises/age_word_problems.html
10. +21 −21 exercises/angle_bisector_theorem.html
11. +2 −2 exercises/angle_types.html
12. +123 −123 exercises/angles_1.html
13. +1 −1 exercises/angles_of_a_polygon.html
14. +3 −3 exercises/arithmetic_word_problems_2.html
15. +2 −2 exercises/changing_decimals_to_percents.html
16. +2 −2 exercises/changing_fractions_to_decimals_1.html
17. +1 −1 exercises/changing_percents_to_decimals.html
18. +2 −2 exercises/changing_percents_to_fractions.html
19. +17 −17 exercises/circles_1.html
21. +2 −2 exercises/comparing_absolute_values.html
22. +1 −1 exercises/complementary_angles.html
23. +1 −1 exercises/completing_the_square_1.html
24. +1 −1 exercises/completing_the_square_2.html
25. +12 −12 exercises/compound_inequalities.html
26. +10 −10 exercises/congruent_triangles_1.html
27. +4 −4 exercises/congruent_triangles_2.html
28. +2 −2 exercises/converting_decimals_to_fractions_1.html
29. +1 −1 exercises/converting_decimals_to_fractions_2.html
30. +1 −1 exercises/converting_decimals_to_percents.html
31. +3 −3 exercises/converting_mixed_numbers_and_improper_fractions.html
32. +1 −1 exercises/converting_percents_to_decimals.html
33. +1 −1 exercises/converting_repeating_decimals_to_fractions_1.html
34. +1 −1 exercises/converting_repeating_decimals_to_fractions_2.html
35. +3 −3 exercises/decimals_on_the_number_line.html
36. +1 −1 exercises/distance_formula.html
37. +246 −246 exercises/distributive_property_with_variables.html
38. +4 −4 exercises/divisibility_0.5.html
39. +4 −4 exercises/equivalent_fractions.html
40. +5 −5 exercises/equivalent_fractions_2.html
41. +1 −1 exercises/estimation_with_decimals.html
42. +1 −1 exercises/evaluating_expressions_2.html
43. +2 −2 exercises/even_and_odd_integers.html
44. +2 −2 exercises/fractions_cut_and_copy_1.html
45. +5 −5 exercises/fractions_cut_and_copy_2.html
46. +7 −7 exercises/fractions_on_the_number_line.html
47. +1 −1 exercises/graphing_points_2.html
48. +4 −4 exercises/herons_formula.html
49. +1 −1 exercises/inequalities_on_a_number_line.html
50. +3 −3 exercises/interpreting_linear_equations.html
51. +5 −5 exercises/kinematic_equations.html
52. +5 −5 exercises/line_relationships.html
53. +4 −4 exercises/linear_equation_word_problems.html
54. +1 −1 exercises/measuring_angles.html
55. +1 −1 exercises/multiplication_0.5.html
56. +4 −4 exercises/multiplying_expressions_1.html
57. +11 −11 exercises/multiplying_polynomials.html
59. +1 −1 exercises/one_step_equations.html
60. +6 −6 exercises/one_step_equations_0.5.html
61. +2 −2 exercises/parabola_intuition_1.html
62. +1 −1 exercises/parabola_intuition_2.html
63. +1 −1 exercises/plugging_in_values.html
64. +2 −2 exercises/point_slope_form.html
65. +24 −24 exercises/polygon_intuition.html
70. +1 −1 exercises/rate_problems_2.html
71. +1 −1 exercises/recognizing_percents.html
72. +2 −2 exercises/recognizing_rays_lines_and_line_segments.html
73. +3 −3 exercises/rounding_numbers.html
74. +4 −4 exercises/similar_triangles_1.html
75. +5 −5 exercises/solutions_to_systems_of_equations.html
76. +1 −1 exercises/special_derivatives.html
77. +9 −9 exercises/squares_and_rectangles.html
78. +2 −2 exercises/systems_of_equations_with_elimination.html
79. +5 −5 exercises/systems_of_equations_with_elimination_0.5.html
80. +6 −6 exercises/systems_of_equations_with_substitution.html
81. +9 −9 exercises/triangle_angles_1.html
82. +1 −1 exercises/trig_identities_1.html
83. +2 −2 exercises/trigonometry_2.html
84. +1 −1 exercises/writing_expressions_2.html
85. +106 −106 jquery-ui.js
86. +54 −55 jquery.js
87. +0 −1 test/exercises/power_rule.js
89. +11 −11 utils/convert-values.js
90. +38 −38 utils/exercise_maker.html
91. +5 −5 utils/exponents.js
92. +5 −5 utils/expressions.js
93. +36 −37 utils/graphie-geometry.js
94. +0 −1 utils/graphie-helpers-arithmetic.js
95. +3 −3 utils/graphie-helpers.js
96. +1 −1 utils/graphie-polygon.js
97. +2 −2 utils/graphie.js
98. +2 −3 utils/math-format.js
99. +6 −6 utils/math.js
100. +9 −9 utils/polynomials.js
101. +1 −1 utils/slice-clone.js
102. +3 −3 utils/spin.js
 @@ -9,7 +9,7 @@
- +
randRange(5,9)*100 randRange(1,9)*10 @@ -23,16 +23,16 @@ D+E+F (2) truncate_to_max(fruit_2_integer*pow(10,-fruit_2_decimal), 2) - truncate_to_max((fruit_1+fruit_2),2) + truncate_to_max((fruit_1+fruit_2),2) []
-
+

{On a sunny morning|On a beautiful afternoon}, person(1) rode his(1) bicycle to a farm that sold bags of plural(fruit(1)) for $fruit_1 each and bags of plural(fruit(2)) for$fruit_2 each.

person(1) decided to buy a bag of plural(fruit(1)) and a bag of plural(fruit(2)) {before heading home|because those were his(1) favorite kinds of fruit|}.

How much did person(1) need to pay for his(1) produce?

- - + +
fruit_1+fruit_2
@@ -46,13 +46,13 @@
- +

person(1) needs to pay $solution. - + - + randRange(1, 3)*100 randRange(2000,9999) @@ -65,9 +65,9 @@ (2) truncate_to_max(time_3_integer*pow(10,-time_3_decimal), 2) [] - truncate_to_max((time_1-time_2),2) + truncate_to_max((time_1-time_2),2) - + {On Monday|Last week}, person(1) and person(2) decided to see how fast they could sprint meters meters. They asked their friend person(3) to time them with a stopwatch. {After time_3 minutes, person(3) agreed to time the runners.|} person(1) sprinted first and ran meters meters in time_1 seconds. When it was person(2)'s turn, he(2) sped off and completed the run in time_2 seconds. @@ -89,10 +89,10 @@ person(2) was solution seconds faster than person(1). - + - - + + randRange(2,6)*100 randRange(1,9)*10 @@ -108,16 +108,16 @@ truncate_to_max(weight_2_integer*pow(10,-weight_2_decimal), 2) randRange(16.5,22.5) randRange(16.5,22.5) - truncate_to_max((weight_1+weight_2),2) + truncate_to_max((weight_1+weight_2),2) [] {Last Monday|On Saturday}, person(1)'s parents gave birth to twins and named them person(2) and person(3). When they were first born, person(2) weighed weight_1 pounds{ and was height_1 inches tall|}, and person(3) weighed weight_2 pounds {and was height_2 inches tall|}. How much did the babies weigh in total? - - - + + + weight_1+weight_2 @@ -131,17 +131,17 @@ graph.adder.showHint(); - + graph.adder.showHint(); Together, the babies weigh solution pounds. - - + + - - + + randRange(1,9)*100 randRange(1,9)*10 @@ -156,7 +156,7 @@ (2) truncate_to_max(price_1_integer*pow(10,-price_1_decimal), 2) randRange(3, 30) - truncate_to_max((amount_paid-price_1),2) + truncate_to_max((amount_paid-price_1),2) [] @@ -180,10 +180,10 @@ person(1) received$solution in change.

- +
- - + +
randRange(101,999) (2) @@ -193,11 +193,11 @@ truncate_to_max(rain_2_integer*pow(10,-rain_2_decimal), 2) randRange(2.1,15.89) [] - truncate_to_max((rain_2-rain_1),2) + truncate_to_max((rain_2-rain_1),2)
-

During a recent rainstorm, rain_1 inches of rain fell in person(1)'s hometown, and rain_2 inches of rain fell in person(2)'s hometown. {During the same storm, snow_1 inches of snow fell in person(3)'s hometown.|}

+

During a recent rainstorm, rain_1 inches of rain fell in person(1)'s hometown, and rain_2 inches of rain fell in person(2)'s hometown. {During the same storm, snow_1 inches of snow fell in person(3)'s hometown.|}

How much more rain fell in person(2)'s town than in person(1)'s town?

rain_2-rain_1
@@ -216,26 +216,26 @@

person(2)'s town received solution inches more rain than person(1)'s town.

- - + +
- +
randRange(100,2000) (2) truncate_to_max(distance_1_integer*pow(10,-distance_1_decimal), 2) randRange(100,2000) (2) truncate_to_max(distance_2_integer*pow(10,-distance_2_decimal), 2) - truncate_to_max((distance_1+distance_2),2) + truncate_to_max((distance_1+distance_2),2) randRange(20.2,52.17) []

{To get to school each morning|To get to work each morning|To visit his(1) grandmother}, person(1) takes an(vehicle(1)) distance_1 plural(distance(1)) and an(vehicle(2)) distance_2 plural(distance(1)). {In total, the journey takes time_1 minutes.|}

How many plural(distance(1)) is person(1)'s journey in total?

-
+
distance_1+distance_2
@@ -249,17 +249,17 @@
- +

person(1) travels solution plural(distance(1)) in total.

- - - - + + + + - +
 @@ -57,7 +57,7 @@
REMOVE.remove(); label( [0, -1], - "\\Huge{\\color{#6495ED}{" + A + "} \\color{#28AE7B}{" + B + "} = " + "\\Huge{\\color{#6495ED}{" + A + "} \\color{#28AE7B}{" + B + "} = " + "\\color{#FF00AF}{" + ANSWER + "}}", "right" );
@@ -107,7 +107,7 @@
REMOVE.remove(); label( [0, -1], - "\\Huge{\\color{#6495ED}{" + A + "} \\color{#28AE7B}{ +" + abs( B ) + "} = " + "\\Huge{\\color{#6495ED}{" + A + "} \\color{#28AE7B}{ +" + abs( B ) + "} = " + "\\color{#FF00AF}{" + ANSWER + "}}", "right" );
 @@ -8,23 +8,23 @@ function getFakeAnswers( solution ) { var answers = []; for ( var i = 0; i < solution.getNumberOfTerms(); i++ ) { - var coefs = []; + var coefs = []; for ( var j = 0; j < solution.getNumberOfTerms(); j++ ) { var term = solution.getCoefAndDegreeForTerm( j ); if ( i === j ) { coefs[ term.degree ] = KhanUtil.randRangeNonZero( -7, 7 ); } else { - coefs[ term.degree ] = term.coef; + coefs[ term.degree ] = term.coef; } } - + for ( var j = 0; j < coefs.length; j++ ) { if ( coefs[ j ] === undefined ) { coefs[ j ] = 0; } - } + } answers.push( new KhanUtil.Polynomial(0, solution.maxDegree, coefs, solution.variable) ); } @@ -48,7 +48,7 @@ if ( i === NON_ZERO_INDICES[ j ] ) { value = randRangeNonZero( -7, 7 ); break; - } + } } coefs[ i ] = value; } @@ -61,7 +61,7 @@