Problem related to geometric series


A geometric series is defined as a series of numbers with a constant ratio between successive terms. For example, in the series 1/2+1/4+1/8..., the ratio between two successive numbers is equal to 1/2.

Write a function named series_sum that computes the finite sum of the first n terms. Your function shall receive as input the ratio between successive terms and the number of terms to be added, and returns the series sum.

Request for Solution File

Ask an Expert for Answer!!
English: Problem related to geometric series
Reference No:- TGS0538319

Expected delivery within 24 Hours