ed84c Posted October 22, 2004 Share Posted October 22, 2004 Does anybody have or know how to make a programme to calculate pi? Link to comment Share on other sites More sharing options...
indignity Posted October 22, 2004 Share Posted October 22, 2004 ... inverse cosine of -1 = pi (if I remember correctly) I'd bet that that could come in handy Link to comment Share on other sites More sharing options...
ed84c Posted October 22, 2004 Author Share Posted October 22, 2004 so how do i turn that into a programme Link to comment Share on other sites More sharing options...
indignity Posted October 22, 2004 Share Posted October 22, 2004 ... I don't think anyone here is going to do your work for you just offer advice Link to comment Share on other sites More sharing options...
ed84c Posted October 22, 2004 Author Share 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 Link to comment Share on other sites More sharing options...
indignity Posted October 22, 2004 Share 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... Link to comment Share on other sites More sharing options...
ed84c Posted October 22, 2004 Author Share Posted October 22, 2004 well the fun would be watching my computer going through streams of numbers figuring out pi...... Link to comment Share on other sites More sharing options...
indignity Posted October 22, 2004 Share Posted October 22, 2004 http://www.cecm.sfu.ca/projects/ISC/data/pi.html Link to comment Share on other sites More sharing options...
ed84c Posted October 22, 2004 Author Share Posted October 22, 2004 thanks Link to comment Share on other sites More sharing options...
ed84c Posted October 22, 2004 Author Share Posted October 22, 2004 hang on this isnt the programme though i want MY computer to do it. Link to comment Share on other sites More sharing options...
indignity Posted October 22, 2004 Share 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 Link to comment Share on other sites More sharing options...
Gilded Posted October 22, 2004 Share Posted October 22, 2004 Are you going to try and memorize some too? That's great fun... If you're extremely bored. Link to comment Share on other sites More sharing options...
Lance Posted October 22, 2004 Share 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. Link to comment Share on other sites More sharing options...
fuhrerkeebs Posted October 22, 2004 Share 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. Link to comment Share on other sites More sharing options...
ed84c Posted October 22, 2004 Author Share Posted October 22, 2004 errh! words i dont understand! Link to comment Share on other sites More sharing options...
Gilded Posted October 22, 2004 Share 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. :/ Link to comment Share on other sites More sharing options...
fuhrerkeebs Posted October 22, 2004 Share 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 Link to comment Share on other sites More sharing options...
ed84c Posted October 22, 2004 Author Share Posted October 22, 2004 thanks Link to comment Share on other sites More sharing options...
fuhrerkeebs Posted October 22, 2004 Share Posted October 22, 2004 Or, you could approximate the area under the curve of 2*sqrt(1-x^2)... Link to comment Share on other sites More sharing options...
bloodhound Posted October 22, 2004 Share 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 Link to comment Share on other sites More sharing options...
jordan Posted October 24, 2004 Share 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. Link to comment Share on other sites More sharing options...
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