Re: [R] Value of 'pi'

From: <Bill.Venables_at_csiro.au>
Date: Mon, 30 May 2011 16:53:24 +1000

There is an urban legend that says Indiana passed a law implying pi = 3.

(Because it says so in the bible...)  

-----Original Message-----
From: r-help-bounces_at_r-project.org [mailto:r-help-bounces_at_r-project.org] On Behalf Of Joshua Wiley Sent: Monday, 30 May 2011 4:10 PM
To: Vincy Pyne
Cc: r-help_at_r-project.org
Subject: Re: [R] Value of 'pi'

Dear Vincy,

I hope that in school you also learned that 22/7 is an approximation. Please consult your local mathematician for a proof that pi != 22/7. A quick search will provide you with volumes of information on what pi is, how it may be calculated, and calculations out to thousands of digits.

Cheers,

Josh

On Sun, May 29, 2011 at 11:01 PM, Vincy Pyne <vincy_pyne_at_yahoo.ca> wrote:
> Dear R helpers,
>
> I have one basic doubt about the value of pi. In school, we have learned that
>
> pi = 22/7 (which is = 3.142857). However, if I type pi in R, I get pi = 3.141593. So which value of pi should be considered?
>
> Regards
>
> Vincy
>
>
>
>
>
>        [[alternative HTML version deleted]]
>
> ______________________________________________
> R-help_at_r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.
>

-- 
Joshua Wiley
Ph.D. Student, Health Psychology
University of California, Los Angeles
http://www.joshuawiley.com/

______________________________________________
R-help_at_r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

______________________________________________
R-help_at_r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.
Received on Mon 30 May 2011 - 06:56:11 GMT

This quarter's messages: by month, or sorted: [ by date ] [ by thread ] [ by subject ] [ by author ]

All messages

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Mon 30 May 2011 - 15:30:11 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.

list of date sections of archive