Geeks Talk

Prepare for your Next Interview




Functions...

This is a discussion on Functions... within the Brainteasers forums, part of the Brain Gym category; if f(n) = 1/n - 1/(n+1) then f(1) + f(2) + . . . + f(100) = ? -- James....


Go Back   Geeks Talk > Brain Gym > Brainteasers

Register FAQ Members List Calendar Mark Forums Read
  #1 (permalink)  
Old 09-17-2006
Expert Member
 
Join Date: Jun 2006
Location: India
Posts: 411
Thanks: 15
Thanked 33 Times in 25 Posts
jamesravid is on a distinguished road
Functions...

if f(n) = 1/n - 1/(n+1) then

f(1) + f(2) + . . . + f(100) = ?

-- James.
Reply With Quote
Sponsored Links
  #2 (permalink)  
Old 09-18-2006
Junior Member
 
Join Date: Sep 2006
Posts: 17
Thanks: 0
Thanked 0 Times in 0 Posts
GregMark is on a distinguished road
Re: Functions...

The function reduces to
1-(1/101) = 100/101
Reply With Quote
  #3 (permalink)  
Old 09-19-2006
Expert Member
 
Join Date: Jun 2006
Location: India
Posts: 411
Thanks: 15
Thanked 33 Times in 25 Posts
jamesravid is on a distinguished road
Re: Functions...

You are right.


-- James.
Reply With Quote
  #4 (permalink)  
Old 09-24-2006
Junior Member
 
Join Date: Sep 2006
Posts: 17
Thanks: 0
Thanked 0 Times in 0 Posts
GregMark is on a distinguished road
Re: Functions...

James thanks for updating me as right. The problem was a interesting numerical problem. Waiting for some more problems like this to solve.
Reply With Quote
Reply

  Geeks Talk > Brain Gym > Brainteasers


Thread Tools
Display Modes


Similar Threads

Thread Thread Starter Forum Replies Last Post
Return Value of Functions janelyn C and C++ 3 09-24-2007 02:09 AM
Query to See Functions joel SQL 3 02-23-2007 06:33 AM
Output Functions RyanJames C and C++ 5 12-20-2006 03:10 AM
Is there any Background Functions fred C and C++ 0 07-16-2006 12:29 PM
Functions in stdlib.h norman C and C++ 1 07-12-2006 05:29 PM


All times are GMT -4. The time now is 07:48 PM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.1.0
Copyright © 2008 GeekInterview.com. All Rights Reserved