Jump to content

Calculating Pi

Featured Replies

Does anybody have or know how to make a programme to calculate pi?

... inverse cosine of -1 = pi (if I remember correctly)

 

I'd bet that that could come in handy

  • Author

so how do i turn that into a programme

... I don't think anyone here is going to do your work for you

 

just offer advice

  • Author

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

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...

  • Author

well the fun would be watching my computer going through streams of numbers figuring out pi......:)

  • Author

thanks

  • Author

hang on this isnt the programme though i want MY computer to do it.

Are you going to try and memorize some too? :P That's great fun... If you're extremely bored.

Are you going to try and memorize some too? :P 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.

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.

  • Author

errh! words i dont understand!

"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. :/

  • Author

thanks

Or, you could approximate the area under the curve of 2*sqrt(1-x^2)...

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.

Archived

This topic is now archived and is closed to further replies.

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.