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

# Search:

Type: Posts; User: benbridle38

1. ## Thread: creating a permutation

by benbridle38
Replies
2
Views
991

### creating a permutation

Hi,

I am trying to 10 different objects in the maximum different combinations, so 10! combinations, and be able to use each combination in my code. I hear you are supposed to used a factoradic...
2. ## Thread: writing a formula with powers and trig in C++ borland builder 4

by benbridle38
Replies
11
Views
1,347

### Re: writing a formula with powers and trig in C++ borland builder 4

oky, really really stuck now,

this is my code:

#include <iostream.h>
#include <conio.h>
#include <math.h>
#include <stdlib.h>

int main()
3. ## Thread: writing a formula with powers and trig in C++ borland builder 4

by benbridle38
Replies
11
Views
1,347

### Re: writing a formula with powers and trig in C++ borland builder 4

can't, lol dont have the program,

will try it tommorrow when i can get to the computer labs.

4. ## Thread: writing a formula with powers and trig in C++ borland builder 4

by benbridle38
Replies
11
Views
1,347

### Re: writing a formula with powers and trig in C++ borland builder 4

yea sorry typo

* Y=pow(sin(pow(acos(x), 2/N)), 2/N);

there u go, does this look like it might work though now?
5. ## Thread: writing a formula with powers and trig in C++ borland builder 4

by benbridle38
Replies
11
Views
1,347

### Re: writing a formula with powers and trig in C++ borland builder 4

i had a go using the pow notation,

Y = pow(sin(pow(acosx,2/N),2/N);

does that look right at all?
6. ## Thread: writing a formula with powers and trig in C++ borland builder 4

by benbridle38
Replies
11
Views
1,347

### writing a formula with powers and trig in C++ borland builder 4

Hi,

dont really know much about programming or anything like this.

But basicly in my program i am trying to write the following formula:

http://img8.imageshack.us/img8/4379/fomula.jpg...
Results 1 to 6 of 6