Question: 2. Write a python program that will ask the user for a number n, and output the sum of the first n terms of the
2. Write a python program that will ask the user for a number n, and output the sum of the first n terms of the following infinite series: 1 + $+$+...+ [15 marks) Sample input: 10 Sample output: 2.9289682539682538 Explanation: 1 + 1 + $ + ... + to - 2.9289682539682538
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
