Geometric sum using recursion in python
View Discussion Show Improve Article Save Article View Discussion Improve Article Save Article Given an integer N, we need to find the geometric sum of the following series using recursion.
Examples: Input N = 5 Output: 1.49794 Input: N = 7 Output: 1.49977 Approach: C++
Java
Python3
C#
Javascript
Time Complexity: O(N) |