ed84c Posted October 22, 2004 Posted October 22, 2004 Does anybody have or know how to make a programme to calculate pi?
indignity Posted October 22, 2004 Posted October 22, 2004 ... inverse cosine of -1 = pi (if I remember correctly) I'd bet that that could come in handy
indignity Posted October 22, 2004 Posted October 22, 2004 ... I don't think anyone here is going to do your work for you just offer advice
ed84c Posted October 22, 2004 Author Posted October 22, 2004 well i dont know how to programme or use VB so i could do with some sort of starter its only for fun you see
indignity Posted October 22, 2004 Posted October 22, 2004 you can find plenty of tutorials for programming languages on the internet... if you don't know how to program, we'd just be walking you step by step through the program... you wouldn't learn anything or have fun so... if you're just doing it for fun... do it... you're not going to have any fun if we do it for you...
ed84c Posted October 22, 2004 Author Posted October 22, 2004 well the fun would be watching my computer going through streams of numbers figuring out pi......
indignity Posted October 22, 2004 Posted October 22, 2004 http://www.cecm.sfu.ca/projects/ISC/data/pi.html
ed84c Posted October 22, 2004 Author Posted October 22, 2004 hang on this isnt the programme though i want MY computer to do it.
indignity Posted October 22, 2004 Posted October 22, 2004 http://projectpi.sourceforge.net/ looks like it's a bit more complicated than I originally thought ... by a bit, I mean a lot
Gilded Posted October 22, 2004 Posted October 22, 2004 Are you going to try and memorize some too? That's great fun... If you're extremely bored.
Lance Posted October 22, 2004 Posted October 22, 2004 Are you going to try and memorize some too? That's great fun... If you're extremely bored. I swear you’re out of your mind. I would rather stare at a wall... which I do quite often.
fuhrerkeebs Posted October 22, 2004 Posted October 22, 2004 Expand arccos into a taylor series and plug in -1. You get something along the lines of pi/2=1+1/6+3/40+5/112+35/1152...and you just keep expanding it. I don't know how rapidly it converges though, and I don't feel like checking right now...though it's not hard to do.
Gilded Posted October 22, 2004 Posted October 22, 2004 "I swear you’re out of your mind. I would rather stare at a wall... which I do quite often." Yes, wall staring / watching grass grow will be my new hobby when I reach 100 decimals. Still at the damn 71, hadn't had too much enthusiasm memorizing more. :/
fuhrerkeebs Posted October 22, 2004 Posted October 22, 2004 If it's the taylor series part you don't understand (and it must be, because that's the only part too it), then check this out for some help: http://mathworld.wolfram.com/TaylorSeries.html
fuhrerkeebs Posted October 22, 2004 Posted October 22, 2004 Or, you could approximate the area under the curve of 2*sqrt(1-x^2)...
bloodhound Posted October 22, 2004 Posted October 22, 2004 check the second algprithms for 1/pi. ramanujans adds 8 significant figures for each term while Chudnovsky adds 14 http://elephant.linux.net.cn/articles/pi.php
jordan Posted October 24, 2004 Posted October 24, 2004 Yes, wall staring / watching grass grow will be my new hobby when I reach 100 decimals. Still at the damn 71, hadn't had too much enthusiasm memorizing more. :/ It will take you forever if you try going one by one. You need to cluster them in meaningful groups like if you see four numbers that are an important date in history or they are in someone's phone-number. Then you should be able to memorize a few hundred in an hour or so.
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now