(Solved) : Need Write Program Visual Basic Windows Forms App Net Framework Write Program Loops Sure Q41381579 . . .

We need to write this program in Visual Basic, Windows Forms App( .NET Framework).

Write a program with Do…While and Do…Until loops. Be sure tohave at least one of each.

  1. Fibonacci Sequence
  2. Alternating Harmonic Series up to the 1,000thterm
  3. Geometric Series to 25 terms

Add one more series:

  1. The Hailstone Series.

Fibonacci Sequence (60 iterations): A sequenceis an ordered list of numbers

  • Start with 1 and 1 as the first two terms
  • The 3rd term is the sum of the first two
  • The 4th term is the sum of the 2nd and3rd
  • The nth term is the sum of the terms n-1 andn-2

Alternating Harmonic Series (1,000 iterations):A series is the sum of a sequence

  • Add together 1 – 1/2 + 1/3 – 1/4 + 1/5 – 1/6 +……- 1/1000
  • This series converges, i.e. it has a sum and adding more termsdoes not change the answer

Geometric Series (25 iterations): A serieswhere the ratio of each term to the previous one is the same

  • Add together 1 + 1/3 + 1/9 + 1/27…..
  • Does this series converge?

Hailstone Sequence: Input a number greater than1

  • If the number is even divide it by 2
  • If the number is odd, multiply it by 3 and add 1
  • Continue the process with the result of each successivecalculation
  • Eventually you’ll get 4,2,1, e.g. 6 goes to6,3,10,5,16,8,4,2,14,2,1…..
  • Set up a Do Until loop to iterate until the value goes to1

Fibonacci Numbers Choose One Geometric Series: 1 + 1/2 + 1/4 + 1/8... is convergent Choose One Fibonacci Sequence Terme Term

Fibonacci Numbers Choose One Geometric Series: 1 + 1/2 + 1/4 + 1/8… is convergent Choose One Fibonacci Sequence Terme Term 7: 0 Fibonacci Sequence O Hamonic Series Tom 9: 0 Geometric Series Tem 11 Temm 12: Hamonic Series 610 O Geometric Series Term 15 : Term 16: Term 17: Term 19: Term 20: Tem 21: Tem 22: Term 23: Sum tol term is: Sum to 2 tesis: Sum to 3 terms is: Sum to 4 terms is: Sum to 5 terms is: Sum to E terms is: Sum to 7 terms is: Sum to terms is: Sum to 9 terms is: Sum to 10 terms is: Sum to il terms is: Sum to 12 terms is: Sum to 13 terms is: Sum to 14 terms is: Sum to 15 terms is: Sum to 16 terms is: Sum to 17 terms is: Sum to 18 terms is: Sum to 19 terms is: Sum to 20 terms is: Sum to 21 terms is: Sum to 22 terms is: Sum to 23 terms is: Sum to 24 terms is: Sum to 25 terms is: 1,597 2,584 4,181 E, 765 10, 946 17,711 28,657 46,368 75,025 121, 393 196,418 317, 811 514.229 832, 040 1. 346,269 2.178, 309 3,524,578 5.703.007 1.00000 1.50000 1.75000 1.87500 1.93750 1.96875 1.98438 1.99219 1.99609 1.99805 1.99902 1.99951 1.99976 1.99988 1.99994 1.99997 1.99998 1.99999 2.00000 2.00000 2.00000 2.00000 2.00000 2.00000 2.00000 Calculate Term 27: Tem 28: Tom 29: Calculate Tom 34 Form1 – O Hailstone Sequence for 56 Choose One Fibonacci Sequence Form1 Harmonie Series: 1 + 1/2 + 1/3 + 1/4…. 15 convergent Harmonic Series Choose One OFbonacci Sequence O Geometric Series Sum tol tem 15: Sum to 2 terms 1s: Sum to 3 terms is: Sum to 4 terms is: Sum to 5 terms is: Sum to terms 1s. Sum to 7 terms is: Sum to 8 terms is: Harmonic Series Hailstone Series Geometric Series Sum to 10 terms is: Sum to 11 terms is: Sum to 12 terms is: Sum to 13 terms is: Sum to 14 terms is: Sum to 15 terms is: Sum to 16 terms is: Sum to 17 terms 15: Sum to 18ter 15: Sum to 19 terms is: Sum to 20 teams is: 56 took 20 terms 1.00000 1.50000 1.03333 2.00333 2.28333 2.45000 2.5928 2.71786 2.82897 2.92097 3.01938 3.10321 3.18013 3.25156 3.31923 3.30073 3.43955 3.49511 3.54774 3.59774 3.64536 3.69081 3.73429 3.77596 3.81596 3.85442 3.8914 € 3.92717 3.9E1ES 3.99499 Calculate Calculate Sum to 23 terms is: Sum to 24 terms is: 25 terms is: Sum to 26 terms is: Sum to 27 terms is: Sum to 20 terms is: Sum to 29 teras is: Sum to 30 terms is: Sum to 31 terms is: Sum to 32 terms is: 4.02725 4.05850 Show transcribed image text Fibonacci Numbers Choose One Geometric Series: 1 + 1/2 + 1/4 + 1/8… is convergent Choose One Fibonacci Sequence Terme Term 7: 0 Fibonacci Sequence O Hamonic Series Tom 9: 0 Geometric Series Tem 11 Temm 12: Hamonic Series 610 O Geometric Series Term 15 : Term 16: Term 17: Term 19: Term 20: Tem 21: Tem 22: Term 23: Sum tol term is: Sum to 2 tesis: Sum to 3 terms is: Sum to 4 terms is: Sum to 5 terms is: Sum to E terms is: Sum to 7 terms is: Sum to terms is: Sum to 9 terms is: Sum to 10 terms is: Sum to il terms is: Sum to 12 terms is: Sum to 13 terms is: Sum to 14 terms is: Sum to 15 terms is: Sum to 16 terms is: Sum to 17 terms is: Sum to 18 terms is: Sum to 19 terms is: Sum to 20 terms is: Sum to 21 terms is: Sum to 22 terms is: Sum to 23 terms is: Sum to 24 terms is: Sum to 25 terms is: 1,597 2,584 4,181 E, 765 10, 946 17,711 28,657 46,368 75,025 121, 393 196,418 317, 811 514.229 832, 040 1. 346,269 2.178, 309 3,524,578 5.703.007 1.00000 1.50000 1.75000 1.87500 1.93750 1.96875 1.98438 1.99219 1.99609 1.99805 1.99902 1.99951 1.99976 1.99988 1.99994 1.99997 1.99998 1.99999 2.00000 2.00000 2.00000 2.00000 2.00000 2.00000 2.00000 Calculate Term 27: Tem 28: Tom 29: Calculate Tom 34 Form1 – O Hailstone Sequence for 56 Choose One Fibonacci Sequence Form1 Harmonie Series: 1 + 1/2 + 1/3 + 1/4…. 15 convergent Harmonic Series Choose One OFbonacci Sequence O Geometric Series Sum tol tem 15: Sum to 2 terms 1s: Sum to 3 terms is: Sum to 4 terms is: Sum to 5 terms is: Sum to terms 1s. Sum to 7 terms is: Sum to 8 terms is: Harmonic Series Hailstone Series Geometric Series Sum to 10 terms is: Sum to 11 terms is: Sum to 12 terms is: Sum to 13 terms is: Sum to 14 terms is: Sum to 15 terms is: Sum to 16 terms is: Sum to 17 terms 15: Sum to 18ter 15: Sum to 19 terms is: Sum to 20 teams is: 56 took 20 terms 1.00000 1.50000 1.03333 2.00333 2.28333 2.45000 2.5928 2.71786 2.82897 2.92097 3.01938 3.10321 3.18013 3.25156 3.31923 3.30073 3.43955 3.49511 3.54774 3.59774 3.64536 3.69081 3.73429 3.77596 3.81596 3.85442 3.8914 € 3.92717 3.9E1ES 3.99499 Calculate Calculate Sum to 23 terms is: Sum to 24 terms is: 25 terms is: Sum to 26 terms is: Sum to 27 terms is: Sum to 20 terms is: Sum to 29 teras is: Sum to 30 terms is: Sum to 31 terms is: Sum to 32 terms is: 4.02725 4.05850

Expert Answer


Answer to We need to write this program in Visual Basic, Windows Forms App ( .NET Framework). Write a program with Do…While and …