# Search:

Type: Posts; User: siddharthbandhu

1. ## Thread: 9^2=81=8+1 How do I do this?

by siddharthbandhu
Replies
3
Views
432

### 9^2=81=8+1 How do I do this?

Take a no, eg 9. Square it.
92=81

Now add the digits

8+1= 9 (Which is the original number)

How do I do this using Functions?
It should work for any number. 9, 55, 395 Any.
2. ## Thread: JAVA program help : 1+1!+1/2!+1/3!+ .... 1/N!?

by siddharthbandhu
Replies
5
Views
1,561

### Re: JAVA program help : 1+1!+1/2!+1/3!+ .... 1/N!?

That was just an example. No way related to the program above.
Im just happy that it will work, thanks alot!
3. ## Thread: Is this possible?

by siddharthbandhu
Replies
1
Views
319

### Is this possible?

For example, if I declare an int n, is it possible to :

Math.pow (5,n+2) ;

Just this one doubt please help me!
4. ## Thread: JAVA program help : 1+1!+1/2!+1/3!+ .... 1/N!?

by siddharthbandhu
Replies
5
Views
1,561

### Re: JAVA program help : 1+1!+1/2!+1/3!+ .... 1/N!?

Ok, nevermind.

For example, if I declare an int n, is it possible to :

Math.pow (5,n+2) ;

Just this one doubt please!
5. ## Thread: JAVA program help : 1+1!+1/2!+1/3!+ .... 1/N!?

by siddharthbandhu
Replies
5
Views
1,561

### JAVA program help : 1+1!+1/2!+1/3!+ .... 1/N!?

Im using Blue J for Java. Please help me on how to write the program for 1+1!+1/2!+1/3!+ .... 1/N! in Java.

Thank you.

I would also appreciate if you could help me for:
2) x- x^2/2! +...
Results 1 to 5 of 5