Results 1 to 3 of 3
  1. #1
    dl21 is offline Member
    Join Date
    Apr 2008
    Posts
    3
    Rep Power
    0

    Default any BIGMAN can help man?thanks so much!

    im totally new to this forum.
    I got a small part of my java program that can not figure out:
    π=4(1-1/3+1/5-1/7+1/9-....-1/(2i-1)+1/(2i+1))
    just ask to write a program to display the πvalue for i = 10000,20000,.....100000

    thanks for the help,i really appreciated!!!

  2. #2
    CaptainMorgan's Avatar
    CaptainMorgan is offline Moderator
    Join Date
    Dec 2007
    Location
    NewEngland, US
    Posts
    835
    Rep Power
    8

    Default

    What are you trying to accomplish here? It looks like an alternating series problem. Please be more specific as to what you're requiring... if you simply don't understand that mathematical statement then have a look at that link.

    What do you mean by "Bigman" ?

    Welcome to the Forums! :)
    Vote for the new slogan to our beloved Java Forums! (closes on September 4, 2008)
    Want to voice your opinion on your IDE/Editor of choice? Vote now!
    Got a little Capt'n in you? (drink responsibly)

  3. #3
    dl21 is offline Member
    Join Date
    Apr 2008
    Posts
    3
    Rep Power
    0

    Default

    we can approx figure Pi=4(1-1/3+1/5-1/7+1/9-....-1/(2i-1)+1/(2i+1)),
    the question ask u when i = 10000,20000.....till100000,the value of the Pi(the equation).thanks so much!looking forward to ur replies!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •