An easy way to do would be to plot both functions in matlab, n and 8log(n)
... just see when y = x is below y = 8log(x) ....happens between 3<= n <= 25
if log is to natural base .... if it was log base 2 ... 3<= n <= 43

On Sat, May 1, 2010 at 10:43 AM, Amit Agarwal <lifea...@gmail.com> wrote:

> I could not get you properly. This is an equation comes from the problem
> statement where I need to find out cut-off value of n between insertion and
> merge sort. I think equation is part of basic mathematics but I don't
> remember how do I solve it.
>
>
> -Regards
> Amit Agarwal
> Contact: 09765348182
> www.amitagrwal.com
>
>
>
>
> On Sat, May 1, 2010 at 9:13 AM, abhijith reddy 
> <abhijith200...@gmail.com>wrote:
>
>> binary search on n
>>
>> On Fri, Apr 30, 2010 at 10:15 PM, Amit Agarwal <lifea...@gmail.com>wrote:
>>
>>> how do I compute n from this equation.
>>> n < 8lg(n)
>>>
>>> --
>>> You received this message because you are subscribed to the Google Groups
>>> "Algorithm Geeks" group.
>>> To post to this group, send email to algoge...@googlegroups.com.
>>> To unsubscribe from this group, send email to
>>> algogeeks+unsubscr...@googlegroups.com<algogeeks%2bunsubscr...@googlegroups.com>
>>> .
>>> For more options, visit this group at
>>> http://groups.google.com/group/algogeeks?hl=en.
>>>
>>>
>>  --
>> You received this message because you are subscribed to the Google Groups
>> "Algorithm Geeks" group.
>> To post to this group, send email to algoge...@googlegroups.com.
>> To unsubscribe from this group, send email to
>> algogeeks+unsubscr...@googlegroups.com<algogeeks%2bunsubscr...@googlegroups.com>
>> .
>> For more options, visit this group at
>> http://groups.google.com/group/algogeeks?hl=en.
>>
>
>  --
> You received this message because you are subscribed to the Google Groups
> "Algorithm Geeks" group.
> To post to this group, send email to algoge...@googlegroups.com.
> To unsubscribe from this group, send email to
> algogeeks+unsubscr...@googlegroups.com<algogeeks%2bunsubscr...@googlegroups.com>
> .
> For more options, visit this group at
> http://groups.google.com/group/algogeeks?hl=en.
>



-- 
We are here on earth to do good for others. What the others are here for, I
don't know.

Afroz Mohiuddin
Final Year Masters Student
Dept Computer Science and Engineering
Indian Institute of Technology Kanpur
Kanpur - 208016
INDIA

Address:  F-112 Hall 9
Telephone: [91]9838773891
Email: afrozena...@gmail.com
      a...@iitk.ac.in
      a...@cse.iitk.ac.in

-- 
You received this message because you are subscribed to the Google Groups 
"Algorithm Geeks" group.
To post to this group, send email to algoge...@googlegroups.com.
To unsubscribe from this group, send email to 
algogeeks+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/algogeeks?hl=en.

Reply via email to