Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Anchor
RTF4900520052003a0073006500
RTF4900520052003a0073006500
Simple iteration starts with a value, solves for the result, changes the value, and solves for the new result. The change in difference determines if the next value should be a higher or lower number. The example below solves for y using simple iteration.
6 = 2y
First iteration value y = 1:
6 – (2 x 1) = 4
Second iteration value y = 2:
6 – (2 x 2) = 2
At this point you know that a higher value brings you closer to a zero difference. You do not want to try a number less than 2, but rather a greater number, like 4.
Third iteration value y = 4:
6 – (2 x 4) = -2
After the third iteration you have a negative result, which means you tried a value that is larger than the result. At this point you know the result is between 2 and 4.
Fourth iteration value y = 3:
6 – (2 x 3) = 0