RSS Forums RSS
Please support our Computer Science advertiser: Programming Forums
Views: 2401 | Replies: 2 | Thread Tools  Display Modes
Reply
Join Date: Sep 2005
Posts: 8
Reputation: Gotcha is an unknown quantity at this point 
Rep Power: 0
Solved Threads: 0
Gotcha Gotcha is offline Offline
Newbie Poster

Help Finding the Big Oh for these Math.functions

  #1  
Sep 8th, 2005
I would like to know if anyone could teach me how to solve this type of Mathematical functions: Finding the Big Oh for the following two.
Thanks for any suggestions.



f(n) = 2 + 4 + 8 + . . . + 2^n




f(n) = n!
AddThis Social Bookmark Button
Reply With Quote  
Join Date: Jun 2005
Location: Cambridge, MA
Posts: 1,374
Reputation: Rashakil Fol has a spectacular aura about Rashakil Fol has a spectacular aura about 
Rep Power: 7
Solved Threads: 47
Colleague
Rashakil Fol's Avatar
Rashakil Fol Rashakil Fol is offline Offline
Salamander Man

Re: Finding the Big Oh for these Math.functions

  #2  
Sep 8th, 2005
There are many 'big Oh's for these functions. In particular, in each case, f(n) is in O(f(n)).
Reply With Quote  
Join Date: Aug 2005
Posts: 80
Reputation: Daishi is an unknown quantity at this point 
Rep Power: 4
Solved Threads: 2
Daishi Daishi is offline Offline
Junior Poster in Training

Re: Finding the Big Oh for these Math.functions

  #3  
Sep 8th, 2005
The first one is obviously a geometric series, google is your friend if you haven't had that level of math yet.

Don't mess with the second one. n! is O(n!), and it is also O(n^n) (but not Big-Theta of n^n).

-Fredric
Reply With Quote  
Reply

Only community members can participate in forum threads. You must register or log in to contribute.



Similar Threads
Other Threads in the Computer Science Forum
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 

Thread Tools Display Modes
Forums | Blogs | Tutorials | Code Snippets | Whitepapers | RSS Feeds | Advertising
All times are GMT -4. The time now is 8:10 am.
Newsletter Archive - Sitemap - Privacy Statement - Acceptable Use Policy - Contact Us
Forum system based on vBulletin Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC