Unformatted text preview: them to be sure that they are correct. The maintenance phase maps to Polya’s last stage, where the results are examined and perhaps modified. Following an Algorithm Although you work with algorithms all the time, most of your experience with them is in the context of following them. You follow an algorithm every time you follow a recipe, play a game, assemble a toy, or take medicine. Let’s look at a recipe and see how this fits the description of an algorithm. See Figure 6.4. 2 While (the quotient is not zero) Divide the decimal number by the new base Make the remainder the next digit to the left in the answer Replace the original decimal number with the quotient...
View
Full Document
 Fall '10
 MARIANAKANT
 Polya, Solution (Algorithm)

Click to edit the document details