# Khan/khan-exercises

Merge pull request #10608 from Christi/cleanup

```various cleanup of answer form
fix #9931```
2 parents f5f8476 + 93c6537 commit b9d8e5f71ecb4925718fab71a78d2a4f9c262406 beneater committed Jan 9, 2012
Showing with 20 additions and 7 deletions.
1. +16 −5 exercises/counting_1.html
2. +4 −2 exercises/functions_1.html
21 exercises/counting_1.html

person( 1 ) {had to DO|was assigned} PROBLEMS START through END for homework {{last {week|night}}|tonight}. -

If person( 1 ) DID all of the PROBLEMS he( 1 ) was assigned, how many PROBLEMS did he( 1 ) DO?

-

+

+ person( 1 ) {had to DO|was assigned} PROBLEMS START through END for homework {{last {week|night}}|tonight}. +

+

+ If person( 1 ) DID all of the PROBLEMS he( 1 ) was assigned, how many PROBLEMS did he( 1 ) DO? +

+ +
+

+

Instead of counting PROBLEMS START through END, we can subtract START - 1 from each number so we instead consider PROBLEMS 1 through ANSWER.

We see that person( 1 ) DID ANSWER PROBLEMS.

@@ -30,7 +37,9 @@

A baker has a whole {baguette|loaf of bread}.

How many cuts must {he|she} make to have exactly NUM even slices?

-

NUM - 1

+
+

NUM -1 cuts

+

One cut will make two slices, two cuts will make three slices, and so on.

Therefore, we need NUM - 1 cuts to make NUM slices.

@@ -42,7 +51,9 @@

person( 1 ) is building a straight fence, with posts one meter apart.

If the fence is LENGTH meters long, how many fence posts does he( 1 ) need?

-

LENGTH + 1

+
+

LENGTH + 1 fence posts

+

If the fence is one meter long, he( 1 ) needs two posts (one for each end).

If the fence is two meters long, then he( 1 ) needs three posts, and so on.

6 exercises/functions_1.html
 @@ -55,8 +55,10 @@ path( FUNCTION_PATH, { stroke: "#6495ed" } ); - -

CORRECT_Y

+
+

f(CORRECT_X)= CORRECT_Y PROBLEMS

+
+