Ask Experts Questions for FREE Help !
Ask
    peter1988's Avatar
    peter1988 Posts: 12, Reputation: 1
    New Member
     
    #1

    Apr 19, 2010, 08:39 AM
    Something about java
    Halo, I want to ask something about java question, some question had confuse, I need some hints, someone help me please, thank you!

    Calculate the value of π from the infinite series.


    Π = 4 – 4/3 +4/5 - 4/7 + 4/9 - 4/11 + ……



    Print a table that shows the value of π using showMessageDialog by one term of this series, by two terms, by three terms, etc. How many terms of this series do you have to use before you first get 3.14? 3.141? 3.1415? 3.14159?
    InfoJunkie4Life's Avatar
    InfoJunkie4Life Posts: 1,409, Reputation: 81
    Ultra Member
     
    #2

    Apr 20, 2010, 05:16 PM

    Looks kind of like Pi to me...

    Write a table, and compare the results to the answers.

Not your question? Ask your question View similar questions

 

Question Tools Search this Question
Search this Question:

Advanced Search

Add your answer here.


Check out some similar questions!

Java? [ 1 Answers ]

The problem is: "Design a class whose instance stands for one pack of cards and an other class whose instance stands for one card. Your program choose two cards randomly and output the result of comparison of the chosen cards. The suits order is spade >heart > diamond > club. The comparison...

About java [ 1 Answers ]

While using a predefined class we should import the packages like import java.io.*,but I have used the predefined class System.out.print without importing any package.. how is it possible.. and how does it works?

Why java? [ 2 Answers ]

I saw java is very popular language so I want know lot of information about java

By using vc++ or java? [ 1 Answers ]

Hi, I want to make image processing application.which programming language I should use? Either vc++ or java or anything else? Please guide me early.

Java Help! [ 1 Answers ]

Hi Experts, I'm not sure if I'm posting this in the right category, but I sure hope someone can still help me. I'm not able to view Java applets. I've downloaded the most recent version of JVM. I have version 1.4.1. I've tried changing some settings (like enabling Java in my internet...


View more questions Search