# Khan/khan-exercises

Older
100644 124 lines (123 sloc) 7.22 KB
 4fce3f6 multiplication_1 finished, percentage_word_problems_1 frameworked, st… swestwood authored May 20, 2011 1 d529248 spinning meals and locations smenks13 authored Oct 20, 2011 2 4fce3f6 multiplication_1 finished, percentage_word_problems_1 frameworked, st… swestwood authored May 20, 2011 3 72418b8 Add meta charset to all HTML pages. jeresig authored Jul 28, 2011 4 07d95d3 spicyj authored Jul 22, 2011 5 Percentage word problems 1 075f731 Space/tab cleanup spicyj authored Jun 2, 2011 6 4fce3f6 multiplication_1 finished, percentage_word_problems_1 frameworked, st… swestwood authored May 20, 2011 7 8 075f731 Space/tab cleanup spicyj authored Jun 2, 2011 9
10
11
12
b59256d Remove extra KhanUtils, not necessary in var blocks marcia authored Jun 2, 2011 13 randRange( 1, 150 ) 14 randRange( 2, 100 ) 075f731 Space/tab cleanup spicyj authored Jun 2, 2011 15
16

a16f0e4 Tiny wording tweaks spicyj authored Aug 31, 2011 17 What is A_SIMPLE% of B_SIMPLE? (Round to nearest whole number.) 075f731 Space/tab cleanup spicyj authored Jun 2, 2011 18

6f2c5fb Use new answer forms marcia authored Aug 2, 2011 19

round((A_SIMPLE * B_SIMPLE) / 100)

075f731 Space/tab cleanup spicyj authored Jun 2, 2011 20
21

d6eaf10 Introduce dollar answer form that accepts $10.75 and 10.75 marcia authored Sep 23, 2011 22 A_SIMPLE / 100 \times B_SIMPLE \approx round((A_SIMPLE * B_SIMPLE) / 100) 075f731 Space/tab cleanup spicyj authored Jun 2, 2011 23 24 25 26 27 a16f0e4 Tiny wording tweaks spicyj authored Aug 31, 2011 28 B_SIMPLE is A_SIMPLE% of what number? (Round to the hundredths place.) 075f731 Space/tab cleanup spicyj authored Jun 2, 2011 29 6f2c5fb Use new answer forms marcia authored Aug 2, 2011 30 round(((B_SIMPLE * 100) / A_SIMPLE) * 100) / 100 075f731 Space/tab cleanup spicyj authored Jun 2, 2011 31 32 Let x be the number that B_SIMPLE is A_SIMPLE% of. d6eaf10 Introduce dollar answer form that accepts$10.75 and 10.75 marcia authored Sep 23, 2011 33

A_SIMPLE / 100 \times x = B_SIMPLE

075f731 Space/tab cleanup spicyj authored Jun 2, 2011 34

x=B_SIMPLE/A_SIMPLE / 100

35

x \approxround((B_SIMPLE * 100/A_SIMPLE * 100))/100

36
37
38
39
b59256d Remove extra KhanUtils, not necessary in var blocks marcia authored Jun 2, 2011 40 randRange( 2, 100 ) 41 BANK_FEWER + randRange(5, 2 * BANK_FEWER + 10 ) 075f731 Space/tab cleanup spicyj authored Jun 2, 2011 42
43

a16f0e4 Tiny wording tweaks spicyj authored Aug 31, 2011 44 person(1) has BANK_MORE dollars in the bank today. Yesterday, he(1) had BANK_FEWER dollars in the bank. By what percentage did person(1)'s bank account increase over the past day? (Round your answer to the nearest hundredth of a percent.)

6f2c5fb Use new answer forms marcia authored Aug 2, 2011 45

round(((BANK_MORE - BANK_FEWER) * 10000) / BANK_FEWER) / 100

075f731 Space/tab cleanup spicyj authored Jun 2, 2011 46
47

The bank account grew by BANK_MORE - BANK_FEWER = BANK_MORE - BANK_FEWER dollars

f1c3306 spicyj authored Jul 26, 2011 48

\frac{BANK_MORE - BANK_FEWER}{BANK_FEWER} \approx round(((BANK_MORE - BANK_FEWER) * 10000) / BANK_FEWER) / 100\%

075f731 Space/tab cleanup spicyj authored Jun 2, 2011 49
50
51
52

a16f0e4 Tiny wording tweaks spicyj authored Aug 31, 2011 53 person(1) has BANK_FEWER dollars in the bank today. Yesterday, he(1) had BANK_MORE dollars in the bank. By what percentage did person(1)'s bank account decrease over the past day? (Round your answer to the nearest hundredth of a percent.)

6f2c5fb Use new answer forms marcia authored Aug 2, 2011 54

round(((BANK_MORE - BANK_FEWER) * 10000) / BANK_MORE) / 100

075f731 Space/tab cleanup spicyj authored Jun 2, 2011 55
56

The bank account decreased by BANK_MORE - BANK_FEWER = BANK_MORE - BANK_FEWER dollars

f1c3306 spicyj authored Jul 27, 2011 57

\frac{BANK_MORE - BANK_FEWER}{BANK_MORE} \approx round(((BANK_MORE - BANK_FEWER) * 10000) / BANK_MORE) / 100\%

075f731 Space/tab cleanup spicyj authored Jun 2, 2011 58
59
60
61
b59256d Remove extra KhanUtils, not necessary in var blocks marcia authored Jun 2, 2011 62 randRange( 10, 150 ) 63 randRange( 50, 999 ) 075f731 Space/tab cleanup spicyj authored Jun 2, 2011 64 round(YEAR_THIS * 10000 / (100 + YEAR_PERCENT_MORE)) / 100 65
66

a16f0e4 Tiny wording tweaks spicyj authored Aug 31, 2011 67 person(1) has YEAR_PERCENT_MORE% more money today than he(1) did this time last year. If person(1) has YEAR_THIS dollars today, how many dollars did he(1) have this time last year? (Round to the nearest penny.)

d6eaf10 Introduce dollar answer form that accepts $10.75 and 10.75 marcia authored Sep 23, 2011 68 YEAR_LAST 075f731 Space/tab cleanup spicyj authored Jun 2, 2011 69 d9c2e7e Fix pronouns on percentage word problems spicyj authored Jul 20, 2011 70 Let x be the amount of money that he(1) had last year. 075f731 Space/tab cleanup spicyj authored Jun 2, 2011 71 x + YEAR_PERCENT_MORE / 100x = YEAR_THIS 72 (100 + YEAR_PERCENT_MORE) / 100x = YEAR_THIS 73 x = \frac{YEAR_THIS}{(100 + YEAR_PERCENT_MORE) / 100} 74 x \approx YEAR_LAST 75 76 ea156a1 Percentage Word Problems 1: Add tip calculation problem smenks13 authored Oct 19, 2011 77 78 79 randRange( 20, 50 ) 80 parseFloat( BILL ).toFixed( 2 ) 81 randRange( 1, 4 ) * 5 82 BILL * ( TIP_PERCENT / 100 ) 83 parseFloat( TIP_AMOUNT ).toFixed( 2 ) dbdb81f Changed tip calculation hints to depict realistic scenario. Deleted a… smenks13 authored Oct 26, 2011 84 parseFloat( BILL * .1 ).toFixed( 2 ) 85 parseFloat( BILL * .05 ).toFixed( 2 ) ea156a1 Percentage Word Problems 1: Add tip calculation problem smenks13 authored Oct 19, 2011 86 BILL + TIP_AMOUNT 87 parseFloat( TOTAL ).toFixed( 2 ) 88 d529248 spinning meals and locations smenks13 authored Oct 20, 2011 89 b7ad871 Move maths to separate line marcia authored Oct 27, 2011 90 person(1) {has {breakfast|lunch|dinner}|eats} at a {restaurant|cafe} and the cost of his(1) meal is$BILL_FORMAT. He(1) would like to leave a TIP_PERCENT% tip. What is his(1) total bill including tip?

d529248 spinning meals and locations smenks13 authored Oct 20, 2011 91
ea156a1 Percentage Word Problems 1: Add tip calculation problem smenks13 authored Oct 19, 2011 92

TOTAL

93
b7ad871 Move maths to separate line marcia authored Oct 27, 2011 94
95

The tip amount is equal to TIP_PERCENT\% \times \$BILL_FORMAT. 96 We can find the tip by first calculating a 10\% tip and then dividing that number by two. and then multiplying that number by two. and a 5\% tip, and then adding those two numbers together. 97 98 99 To calculate a 10\% tip, move the decimal point in \$BILL_FORMAT one place to the left.

100

10\% \times \$BILL_FORMAT = \$TIP_TEN_PERCENT

101
dbdb81f Changed tip calculation hints to depict realistic scenario. Deleted a… smenks13 authored Oct 26, 2011 102
b7ad871 Move maths to separate line marcia authored Oct 27, 2011 103
104

To calculate a 5\% tip, divide the 10\% tip amount in half.

105

5\% \times \$BILL_FORMAT = \$TIP_TEN_PERCENT \div 2 = \$TIP_FIVE_PERCENT. 106 107 108 To calculate a 20\% tip, multiply the 10\% tip amount by two. 109 20\% \times \$BILL_FORMAT = \$TIP_TEN_PERCENT \times 2 = \$TIP_AMOUNT_FORMAT.

110
dbdb81f Changed tip calculation hints to depict realistic scenario. Deleted a… smenks13 authored Oct 26, 2011 111
112
113

Adding the two amounts together gives us \$TIP_TEN_PERCENT + \$TIP_FIVE_PERCENT = \$TIP_AMOUNT_FORMAT. ea156a1 Percentage Word Problems 1: Add tip calculation problem smenks13 authored Oct 19, 2011 114 b7ad871 Move maths to separate line marcia authored Oct 27, 2011 115 The cost of the meal plus the amount of the tip will equal the total bill amount. 116 \$BILL_FORMAT + \$TIP_AMOUNT_FORMAT = \$TOTAL_FORMAT.

dbdb81f Changed tip calculation hints to depict realistic scenario. Deleted a… smenks13 authored Oct 26, 2011 117

The total cost of the bill is \\$TOTAL_FORMAT.

ea156a1 Percentage Word Problems 1: Add tip calculation problem smenks13 authored Oct 19, 2011 118
119
075f731 Space/tab cleanup spicyj authored Jun 2, 2011 120
121
4fce3f6 multiplication_1 finished, percentage_word_problems_1 frameworked, st… swestwood authored May 20, 2011 122 cf02179 Strip trailing whitespace spicyj authored Jun 1, 2011 123
Something went wrong with that request. Please try again.