Search:

Type: Posts; User: robertsbd

Search: Search took 0.09 seconds.

  1. Replies
    8
    Views
    2,497

    Re: help w/ PI Math java program

    ah..good shot man thanks
  2. Replies
    8
    Views
    2,497

    Re: help w/ PI Math java program

    but it never showed the output of what the value of I is for PI to = 3.1419 or lower
  3. Replies
    8
    Views
    2,497

    Re: help w/ PI Math java program

    alright i updated my code w/ a for loop and believe im getting some where


    public class Assign3_Roberts {
    public static void main(String[] args)
    {
    for (int i = 100; i <= 1000; i += 100) {...
  4. Replies
    8
    Views
    2,497

    Re: help w/ PI Math java program

    alright here is my updated code but still not sure how to calculate the pi when i =200,300, etc

    also i tried to work on the 2nd part of my code


    public class Assign3_Roberts {
    public static...
  5. Replies
    8
    Views
    2,497

    help w/ PI Math java program

    im currently in entry level java class and need help with a code..here are my instructions

    Mathematicians define the constant PI to be
    PI = 4 *( 1 - 1/(2*2-1) + 1/(2*2+1) - 1/(2*4-1) +...
Results 1 to 5 of 5