Search:

Type: Posts; User: siddharthbandhu

Search: Search took 0.08 seconds.

  1. Replies
    3
    Views
    1,343

    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. 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. Replies
    1
    Views
    1,360

    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. 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. 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