1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

sum of following series

Discussion in 'C' started by saahil, Aug 4, 2008.

  1. saahil

    saahil New Member

    Joined:
    Aug 4, 2008
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    0
    Occupation:
    studying
    Location:
    delhi
    enter x &n and display sum of following series
    x1 +x2 +x3+- - - - - - - -+xn(1,2,3,-----,n are powers of x)
     
  2. asadullah.ansari

    asadullah.ansari TechCake

    Joined:
    Jan 9, 2008
    Messages:
    356
    Likes Received:
    14
    Trophy Points:
    0
    Occupation:
    Developer
    Location:
    NOIDA
    Use this formula...

    sum = a |(r^(n-1) -1 )| /|(r-1)|

    where a = first term
    r = second term/ first term ( Tn/T(n-1) )
     

Share This Page