Question about Microsoft Windows XP Professional With Servise Pack 2 (e8503040) for PC

# Calculate the value of pi

Pi=4-(4/3)+(4/5)-(4/7)+(4/9)-(4/11)+....
print a table that shows the approximate value of pi after each of first 1,000 terms in the series

Posted by on

×

• Level 2:

An expert who has achieved level 2 by getting 100 points

MVP:

An expert that gotĀ 5 achievements.

Governor:

An expert whose answer gotĀ voted for 20 times.

Hot-Shot:

An expert who has answered 20 questions.

• Expert

#include <iostream>

int main(int argc, char *argv[])
{
double arctangentOfOne = 0.0;
for(int i=0; i < 1000; ++i, std::cout << 4 * arctangentOfOne << std::endl) arctangentOfOne += (i%2==0?1.0:-1.0)/(2*i + 1 );
system("PAUSE");
return 0;
}

Posted on Jan 17, 2009

Hi,
a 6ya Technician can help you resolve that issue over the phone in a minute or two.
Best thing about this new service is that you are never placed on hold and get to talk to real repair professionals here in the US.
Goodluck!

Posted on Jan 02, 2017

×

my-video-file.mp4

×

## Related Questions:

### Unresponsible key

Try cleaning the keypad. Reset the calculator. When you press the EXP key or the 2ndF +EXP key try pressing firmly the calculator between your thumb and index (left hand).
To work around this defect (due to the venerable age maybe)
enter the approximate value of PI=3.14159265359 on your calculator and store it in one of the available memory locations. When you need use PI just recall the value to the display.
The EXP key is just a short cut for *10^(exponent). You can explicitly use the general power key.
If you are averse to using this workaround consider acquiring another calculator.

Dec 24, 2013 | Sharp Office Equipment & Supplies

### It wont give me the value when i multiply like 6 x pi

Your calculator may be able to use the symbol Pi. If it gives you a result with Pi, you should convert it to a decimal approximation. There must be a key to convert.

Nov 12, 2013 | Canon F-719SG Green Scientific Calculator...

### I cannot find the pi key

4th button down on the left side...it looks like a table
or use 3.141592653590 for the exact calculator value...
or use 3.14 as the acceptable rounded version

Oct 22, 2013 | Texas Instruments TI 30XIIS Scientific...

### HOW DO I USE MY PI ON THIS CALCULATOR?

Look for a key marked with the Greek letter PI. The marking may be on the key itself, or on the faceplate of calculator. If marking is on the key, you press the key to enter an approximate value of Pi. If marking is on faceplate you will have to press the SHIFT key first.

Aug 23, 2013 | Casio FX-300MS Calculator

### How can i see the real number pi in decimals in my ti-89?

To get a numerical value for a single result, press the diamond button then the ENTER button. To have all results come out numerically, press MODE F2, scroll down to the Exact/Approx line, right-arrow, select 3:APPROXIMATE, then press ENTER ENTER.

Dec 26, 2012 | Texas Instruments TI-89 Calculator

### When i put in integrals to solve, the ti89 gives me an answer with pi / a degree(normally 180) i do not need pi anywhere in my answer. how do i change this?

You are not using the right units. The integrals of functions involving angles (trigonometric functions) that you find in tables and other refrerences are valid only for the natural angle unit which is the radian. With any other angle unit (degree, gradian) there is a scale factor to take into account. That is the factor yoy are complaining about.

If it were not the case, the same integral will have two different values depending on the unit you use: and that cannot be.

If you want the calculator to give you the standard integrals in reference tables you must set the default angle unit to be radian.

Let x_deg be an angle in degrees and x_rad the corresponding value in radians.
calculating the differentials of bot sides you obtain

Sep 20, 2011 | Texas Instruments TI-89 Calculator

### What is the pi button

Pi is a mathematical constant whose value is the ratio of any Euclidean plane circle's circumference to its diameter; this is the same value as the ratio of a circle's area to the square of its radius. It is approximately equal to 3.14159265 in the usual decimal notation.

Mar 05, 2011 | Casio FX82MS Scientific Calculator

### How do I convert any decimal into a fraction?? ex: sin45 is 0.8509035245 (press which buttons to make a fraction)

Not all decimal representations have equivalent fractions. Take pi. Its approximate value as given by the Casio FX9750II is 3.141592654. This is just an approximation because the string of decimal digits in pi has no end. It continues . Such a number that cannot be represented by a ratio of two integers is not rational, not a fraction. It is called irrational.Other such numbers are ?2, ?3,?5, e the base of natural logarithms.
As a matter of principle, if a number is called irrational, it is because it is not rational (not a fraction), and it makes no sense to try to cast it into fraction form.

However, if you truncate an irrational number so as to keep only a finite number of decimal digits, then that truncated number can be represented by a fraction, but qualitatively speaking, it is not the original irrational number.
Thus if you decide to use 3.141500000000000000....0 as an approximate value of pi then you write
3.1415=31415/10000 and the calculator will convert it to the mixed fraction 3u283u2000. To effect this conversion, you press the [FD] key to the right of [a b/c]. If you want an improper fraction 6283u2000 you press [SHIFT][[FD].

As to the value of sin 45 you quote, you should be aware that it is valid for an angle unit in radians.
It is an approximation because the radian unit is based on the value of pi, which, as I said above, is an irrational number.
If you use the degree angle unit, sin45 deg is actually equal to 1/?2 or ?2/2 and this is clearly irrational, and it cannot be represented as a fraction. In conclusion it makes no sense to try to cast it into such form.
On the other hand, sin 30 deg or cos 60 deg are both exactly equal to 1/2. The calculator will convert them to a fraction.

On a more general note, the calculator will always be able to convert a fraction into an approximate decimal number, but the converse may not be possible. It depends on the number of display space available on the screen.

Feb 02, 2011 | Casio FX9750GII Graphic Calculator

### Surface area problems? can u pls answer the ones in the blue?

Sorry but after I finished the post I noticed that the questuin is for the Casio FX0115ES while I decribed the calculator part for the TI84PLUS. However, the procedure is valid for any calculator that can generate a table from a given function. You should be able to implement it on the Casio. Just read the part that tells you how to create a table from a function: You should look at MODE TABLE

V=Pi*(r^2)*h
which gives h=V/(Pi*r^2)
Take this expression for h and substitute in the expression for the total surface. This gives (after simplifications)
S=2*Pi*r^2 +2*V/r

Press [2nd][WINDOW] to access the Tabble setup
Set table start =2
Set DeltaTbl=0.05 (You can take a smaller value if you want)
Set Indepnt to Auto
Set Depend to Auto

Open the [Y=] editor
Enter the expression for the surface above as Y1=, using X as variable Y1= 2*Pi*X^2 +2*375/X
Press [2nd][GRAPH] to create the (table)

This part is not calculator-specific
Display the table and, scroll down examining the Y1 values.
Find the value of X (ie r) where the Y1 value is the smallest.
The value of X (r) you read to the left of of the minimum value of Y1 is in centimeters (because 375 mL= 375 cm^3)
The r-value that minimizes the surface should be around 3.90cm
Substitute this value for r in the expression for h above, calculate the value of h.

May 09, 2010 | Casio FX-115ES Scientific Calculator

## Open Questions:

#### Related Topics:

103 people viewed this question

Level 3 Expert

Level 3 Expert