Question: (NEEDS TO BE IN PYTHON 2.7) Part 1: Calculate the sum of the following series using a loop: 1/3 + 3/5 + 5/7 + .

(NEEDS TO BE IN PYTHON 2.7)

Part 1:

Calculate the sum of the following series using a loop:

1/3 + 3/5 + 5/7 + . . . + 95/97 + 97/99

Print the sum

Part 2:

Now calculate it again going the other direction.

If you began with 1/3 + 3/5, begin with 97/99 + 95/97

Print the sum

Part 3:

Calculate the sum of the following series:

1 + 1 + 2 + 4 + 7 + 11 + 16 . . . until your total is as large as it can be and still remain under 100.

The distance between each number increases by one.

The distance between 1 and 1 is 0

The distance between 1 and 2 is 1

The distance between 2 and 4 is 2, etc.

Print the sum

(NEEDS TO BE IN PYTHON 2.7) Part 1: Calculate the sum of

Part 1 Calculate the sum of the following series using a loop: 1/3 3/5 5/7 95/97 97/99 Print the sum Part 2 Now calculate it again going the other direction. If you began with 1/3 3/5, begin with 9 95/97 Print the sum Part 3 Calculate the sum of the following series: 1 1 2 4 7 11 16. until your total is as large as it can be and still remain under 100 The distance between each number increases by one The distance between 1 and 1 is 0 The distance between 1 and 2 is 1 The distance between 2 and 4 is 2, etc. Print the sum

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!