1 / 60

# 11.5 = Recursion &amp; Iteration

11.5 = Recursion &amp; Iteration. Arithmetic = adding (positive or negative). Arithmetic = adding (positive or negative) 3, 6, 9, 12, …. Arithmetic = adding (positive or negative) 3, 6, 9, 12, … d = 3. Arithmetic = adding (positive or negative) 3, 6, 9, 12, … d = 3

Télécharger la présentation

## 11.5 = Recursion &amp; Iteration

E N D

### Presentation Transcript

1. 11.5 = Recursion & Iteration

2. Arithmetic = adding (positive or negative)

3. Arithmetic = adding (positive or negative) 3, 6, 9, 12, …

4. Arithmetic = adding (positive or negative) 3, 6, 9, 12, … d = 3

5. Arithmetic = adding (positive or negative) 3, 6, 9, 12, … d = 3 *Formula for the nth term based on a1 and d. an = a1+(n–1)d

6. Arithmetic = adding (positive or negative) 3, 6, 9, 12, … d = 3 *Formula for the nth term based on a1 and d. an = a1+(n–1)d Geometric = multiplying (#’s > 1 or #’s < 1)

7. Arithmetic = adding (positive or negative) 3, 6, 9, 12, … d = 3 *Formula for the nth term based on a1 and d. an = a1+(n–1)d Geometric = multiplying (#’s > 1 or #’s < 1) 2, 10, 50, 250, …

8. Arithmetic = adding (positive or negative) 3, 6, 9, 12, … d = 3 *Formula for the nth term based on a1 and d. an = a1+(n–1)d Geometric = multiplying (#’s > 1 or #’s < 1) 2, 10, 50, 250, … r = 5

9. Arithmetic = adding (positive or negative) 3, 6, 9, 12, … d = 3 *Formula for the nth term based on a1 and d. an = a1+(n–1)d Geometric = multiplying (#’s > 1 or #’s < 1) 2, 10, 50, 250, … r = 5 *Formula for the nth term based on a1 and r. an = a1r(n – 1)

10. Arithmetic = adding (positive or negative) 3, 6, 9, 12, … d = 3 *Formula for the nth term based on a1 and d. an = a1+(n–1)d Geometric = multiplying (#’s > 1 or #’s < 1) 2, 10, 50, 250, … r = 5 *Formula for the nth term based on a1 and r. an = a1r(n – 1) Recursion = formula-based (“neither”)

11. Arithmetic = adding (positive or negative) 3, 6, 9, 12, … d = 3 *Formula for the nth term based on a1 and d. an = a1+(n–1)d Geometric = multiplying (#’s > 1 or #’s < 1) 2, 10, 50, 250, … r = 5 *Formula for the nth term based on a1 and r. an = a1r(n – 1) Recursion = formula-based (“neither”) 2, 4, 16, 256, …

12. Arithmetic = adding (positive or negative) 3, 6, 9, 12, … d = 3 *Formula for the nth term based on a1 and d. an = a1+(n–1)d Geometric = multiplying (#’s > 1 or #’s < 1) 2, 10, 50, 250, … r = 5 *Formula for the nth term based on a1 and r. an = a1r(n – 1) Recursion = formula-based (“neither”) 2, 4, 16, 256, … -The pattern is that you’re squaring each previous term.

13. Arithmetic = adding (positive or negative) 3, 6, 9, 12, … d = 3 *Formula for the nth term based on a1 and d. an = a1+(n–1)d Geometric = multiplying (#’s > 1 or #’s < 1) 2, 10, 50, 250, … r = 5 *Formula for the nth term based on a1 and r. an = a1r(n – 1) Recursion = formula-based (“neither”) 2, 4, 16, 256, … -The pattern is that you’re squaring each previous term. an+1 = (an)2

14. Recursion = formula-based (“neither”) 2, 4, 16, 256, … -The pattern is that you’re squaring each previous term. an+1 = (an)2 *Note that this formula only applies to this particular example!!!

15. Recursion = formula-based (“neither”) 2, 4, 16, 256, … -The pattern is that you’re squaring each previous term. an+1 = (an)2 *Note that this formula only applies to this particular example!!! Basic Formula: next term = #(1stterm)# ± #

16. Recursion = formula-based (“neither”) 2, 4, 16, 256, … -The pattern is that you’re squaring each previous term. an+1 = (an)2 *Note that this formula only applies to this particular example!!! Basic Formula: next term = #(1stterm)# ± # **The #’s are possibilities, but not requirements.

17. Recursion = formula-based (“neither”) 2, 4, 16, 256, … -The pattern is that you’re squaring each previous term. an+1 = (an)2 *Note that this formula only applies to this particular example!!! Basic Formula: next term = #(1stterm)# ± # **The #’s are possibilities, but not requirements. Exs. an = 3an-1 + 4 an+1 = (an)2 – 9 an+2 = 2an – an+1

18. Ex. 1 Find the first five terms of each sequence. a1 = 10, an+1 = 4an + 1

19. Ex. 1 Find the first five terms of each sequence. a1 = 10, an+1 = 4an + 1 a1 = 10

20. Ex. 1 Find the first five terms of each sequence. a1 = 10, an+1 = 4an + 1 a1 = 10 a1+1 = 4a1 + 1

21. Ex. 1 Find the first five terms of each sequence. a1 = 10, an+1 = 4an + 1 a1 = 10 a1+1 = 4a1 + 1 = 4(10) + 1

22. Ex. 1 Find the first five terms of each sequence. a1 = 10, an+1 = 4an + 1 a1 = 10 a1+1 = 4a1 + 1 = 4(10) + 1 = 41

23. Ex. 1 Find the first five terms of each sequence. a1 = 10, an+1 = 4an + 1 a1 = 10 a1+1 = 4a1 + 1 = 4(10) + 1 = 41 a2 = 41

24. Ex. 1 Find the first five terms of each sequence. a1 = 10, an+1 = 4an + 1 a1 = 10 a1+1 = 4a1 + 1 = 4(10) + 1 = 41 a2 = 41 a2+1 = 4a2 + 1

25. Ex. 1 Find the first five terms of each sequence. a1 = 10, an+1 = 4an + 1 a1 = 10 a1+1 = 4a1 + 1 = 4(10) + 1 = 41 a2 = 41 a2+1 = 4a2 + 1 = 4(41) + 1

26. Ex. 1 Find the first five terms of each sequence. a1 = 10, an+1 = 4an + 1 a1 = 10 a1+1 = 4a1 + 1 = 4(10) + 1 = 41 a2 = 41 a2+1 = 4a2 + 1 = 4(41) + 1 = 165

27. Ex. 1 Find the first five terms of each sequence. a1 = 10, an+1 = 4an + 1 a1 = 10 a1+1 = 4a1 + 1 = 4(10) + 1 = 41 a2 = 41 a2+1 = 4a2 + 1 = 4(41) + 1 = 165 a3 = 165

28. Ex. 1 Find the first five terms of each sequence. a1 = 10, an+1 = 4an + 1 a1 = 10 a1+1 = 4a1 + 1 = 4(10) + 1 = 41 a2 = 41 a2+1 = 4a2 + 1 = 4(41) + 1 = 165 a3 = 165 a3+1 = 4a3 + 1

29. Ex. 1 Find the first five terms of each sequence. a1 = 10, an+1 = 4an + 1 a1 = 10 a1+1 = 4a1 + 1 = 4(10) + 1 = 41 a2 = 41 a2+1 = 4a2 + 1 = 4(41) + 1 = 165 a3 = 165 a3+1 = 4a3 + 1 = 4(165) + 1

30. Ex. 1 Find the first five terms of each sequence. a1 = 10, an+1 = 4an + 1 a1 = 10 a1+1 = 4a1 + 1 = 4(10) + 1 = 41 a2 = 41 a2+1 = 4a2 + 1 = 4(41) + 1 = 165 a3 = 165 a3+1 = 4a3 + 1 = 4(165) + 1 = 661

31. Ex. 1 Find the first five terms of each sequence. a1 = 10, an+1 = 4an + 1 a1 = 10 a1+1 = 4a1 + 1 = 4(10) + 1 = 41 a2 = 41 a2+1 = 4a2 + 1 = 4(41) + 1 = 165 a3 = 165 a3+1 = 4a3 + 1 = 4(165) + 1 = 661 a4 = 661

32. Ex. 1 Find the first five terms of each sequence. a1 = 10, an+1 = 4an + 1 a1 = 10 a1+1 = 4a1 + 1 = 4(10) + 1 = 41 a2 = 41 a2+1 = 4a2 + 1 = 4(41) + 1 = 165 a3 = 165 a3+1 = 4a3 + 1 = 4(165) + 1 = 661 a4 = 661 a4+1 = 4a4 + 1

33. Ex. 1 Find the first five terms of each sequence. a1 = 10, an+1 = 4an + 1 a1 = 10 a1+1 = 4a1 + 1 = 4(10) + 1 = 41 a2 = 41 a2+1 = 4a2 + 1 = 4(41) + 1 = 165 a3 = 165 a3+1 = 4a3 + 1 = 4(165) + 1 = 661 a4 = 661 a4+1 = 4a4 + 1 = 4(661) + 1

34. Ex. 1 Find the first five terms of each sequence. a1 = 10, an+1 = 4an + 1 a1 = 10 a1+1 = 4a1 + 1 = 4(10) + 1 = 41 a2 = 41 a2+1 = 4a2 + 1 = 4(41) + 1 = 165 a3 = 165 a3+1 = 4a3 + 1 = 4(165) + 1 = 661 a4 = 661 a4+1 = 4a4 + 1 = 4(661) + 1 = 2645

35. Ex. 1 Find the first five terms of each sequence. a1 = 10, an+1 = 4an + 1 a1 = 10 a1+1 = 4a1 + 1 = 4(10) + 1 = 41 a2 = 41 a2+1 = 4a2 + 1 = 4(41) + 1 = 165 a3 = 165 a3+1 = 4a3 + 1 = 4(165) + 1 = 661 a4 = 661 a4+1 = 4a4 + 1 = 4(661) + 1 = 2645 a5 = 2645

36. Ex. 1 Find the first five terms of each sequence. a1 = 10, an+1 = 4an + 1 a1 = 10 a1+1 = 4a1 + 1 = 4(10) + 1 = 41 a2 = 41 a2+1 = 4a2 + 1 = 4(41) + 1 = 165 a3 = 165 a3+1 = 4a3 + 1 = 4(165) + 1 = 661 a4 = 661 a4+1 = 4a4 + 1 = 4(661) + 1 = 2645 a5 = 2645

37. Ex. 2Write a recursive formula for the sequence. 16, 10, 7, 5.5, 4.75

38. Ex. 2 Write a recursive formula for the sequence. 16 10 7 5.5 4.75 -6 -3 -1.5 -0.75

39. Ex. 2 Write a recursive formula for the sequence. 16 10 7 5.5 4.75 -6 -3 -1.5 -0.75 *Each difference is half the previous difference!

40. Ex. 2 Write a recursive formula for the sequence. 16 10 7 5.5 4.75 -6 -3 -1.5 -0.75 *Each difference is half the previous difference! a1 = 16

41. Ex. 2 Write a recursive formula for the sequence. 16 10 7 5.5 4.75 -6 -3 -1.5 -0.75 *Each difference is half the previous difference! a1 = 16 a2 = 0.5(16) ± ? = 10

42. Ex. 2 Write a recursive formula for the sequence. 16 10 7 5.5 4.75 -6 -3 -1.5 -0.75 *Each difference is half the previous difference! a1 = 16 a2 = 0.5(16) ± ? = 10 8 ± ? = 10

43. Ex. 2 Write a recursive formula for the sequence. 16 10 7 5.5 4.75 -6 -3 -1.5 -0.75 *Each difference is half the previous difference! a1 = 16 a2 = 0.5(16) ± ? = 10 8 ± ? = 10 a3 = 0.5(10) ± ? = 7

44. Ex. 2 Write a recursive formula for the sequence. 16 10 7 5.5 4.75 -6 -3 -1.5 -0.75 *Each difference is half the previous difference! a1 = 16 a2 = 0.5(16) ± ? = 10 8 ± ? = 10 a3 = 0.5(10) ± ? = 7 5 ± ? = 7

45. Ex. 2 Write a recursive formula for the sequence. 16 10 7 5.5 4.75 -6 -3 -1.5 -0.75 *Each difference is half the previous difference! a1 = 16 a2 = 0.5(16) ± ? = 10 8 ± ? = 10 a3 = 0.5(10) ± ? = 7 5 ± ? = 7 a4 = 0.5(7) ± ? = 5.5

46. Ex. 2 Write a recursive formula for the sequence. 16 10 7 5.5 4.75 -6 -3 -1.5 -0.75 *Each difference is half the previous difference! a1 = 16 a2 = 0.5(16) ± ? = 10 8 ± ? = 10 a3 = 0.5(10) ± ? = 7 5 ± ? = 7 a4 = 0.5(7) ± ? = 5.5 3.5 ± ? = 5.5

47. Ex. 2 Write a recursive formula for the sequence. 16 10 7 5.5 4.75 -6 -3 -1.5 -0.75 *Each difference is half the previous difference! a1 = 16 a2 = 0.5(16) ± ? = 10 8 ± ? = 10 a3 = 0.5(10) ± ? = 7 5 ± ? = 7 a4 = 0.5(7) ± ? = 5.5 3.5 ± ? = 5.5 a5 = 0.5(5.5) ± ? = 4.75

48. Ex. 2 Write a recursive formula for the sequence. 16 10 7 5.5 4.75 -6 -3 -1.5 -0.75 *Each difference is half the previous difference! a1 = 16 a2 = 0.5(16) ± ? = 10 8 ± ? = 10 a3 = 0.5(10) ± ? = 7 5 ± ? = 7 a4 = 0.5(7) ± ? = 5.5 3.5 ± ? = 5.5 a5 = 0.5(5.5) ± ? = 4.75 2.75 ± ? = 4.75

49. Ex. 2 Write a recursive formula for the sequence. 16 10 7 5.5 4.75 -6 -3 -1.5 -0.75 *Each difference is half the previous difference! a1 = 16 a2 = 0.5(16) ± ? = 10 8 ± 2 = 10 a3 = 0.5(10) ± ? = 7 5 ± 2 = 7 a4 = 0.5(7) ± ? = 5.5 3.5 ± 2 = 5.5 a5 = 0.5(5.5) ± ? = 4.75 2.75 ± 2 = 4.75

50. Ex. 2 Write a recursive formula for the sequence. 16 10 7 5.5 4.75 -6 -3 -1.5 -0.75 *Each difference is half the previous difference! a1 = 16 a2 = 0.5(16) ± ? = 10 8 ± 2= 10 a3 = 0.5(10) ± ? = 7 5 ± 2 = 7 a4 = 0.5(7) ± ? = 5.5 3.5 ± 2 = 5.5 a5 = 0.5(5.5) ± ? = 4.75 2.75 ± 2 = 4.75 So an+1 = 0.5an + 2

More Related