Search Results - CodeGuru Forums
 CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com

# Search:

Type: Posts; User: arira

1. ## Thread: How to estimate the number of recursive calls

by arira
Replies
23
Views
4,122

### Re: How to estimate the number of recursive calls

If you mean binomial the formula that I posted in #1 it is wrong formula for calculate binomial because it always answers 1 to us
the right formula for binomial is

public static double...
2. ## Thread: How to estimate the number of recursive calls

by arira
Replies
23
Views
4,122

### Re: How to estimate the number of recursive calls

yeah I think I can do :)
many thank to you
3. ## Thread: How to estimate the number of recursive calls

by arira
Replies
23
Views
4,122

### Re: How to estimate the number of recursive calls

I know what you mean but our purpose is to find a formula not a better way to calculate binomial
we can say in formula 50! and don't need to calculate it because it is formula
4. ## Thread: How to estimate the number of recursive calls

by arira
Replies
23
Views
4,122

### Re: How to estimate the number of recursive calls

thank for your answer
but there is only one thing remains
I sent an mail to the writer of the book that I found this problem and he answered me

Hint: calculate the number of calls for some small...
5. ## Thread: How to estimate the number of recursive calls

by arira
Replies
23
Views
4,122

### Re: How to estimate the number of recursive calls

I tried before all of this and I think no one knows the answer in the world and wanna give up because it takes my time too much and spent enough time for this problem.

number of recursive calls :...
6. ## Thread: How to estimate the number of recursive calls

by arira
Replies
23
Views
4,122

### Re: How to estimate the number of recursive calls

I wrote a program that gives me the numbes but for (100,50) it takes too long
I am sure that there is a formul

(1,0)=3
(2,0)=5
(2,1)=7
(3,0)=7
(3,1)=13
7. ## Thread: How to estimate the number of recursive calls

by arira
Replies
23
Views
4,122

### How to estimate the number of recursive calls

How to estimate the number of recursive calls that would be used by the code

public static double binomial(int N, int k, double p)
{
if ((N == 0) || (k < 0)) return 1.0;
return (1.0 -...
Results 1 to 7 of 7

Click Here to Expand Forum to Full Width

This is a CodeGuru survey question.

Featured