Pi is fun however

(This is a thread from Mizahar's fantasy role playing forum. Why don't you register today? This message is not shown when you are logged in. Come roleplay with us, it's fun!)

Feel free to place any off topic chatter, thread games, etc here.

Pi is fun however

Postby Serrif Von Chatlyn on March 20th, 2012, 1:21 am

Image
So in a streak of curiocity only moments ago I decided to see if there was a Java applet that would allow me to leverage my computers power to calculate the value of pi. Or more accurately a estimation of pi since you can never exactly calculate pi…so indeed it does exist here as a Java Applet.

Now to compare your results to mine you will have to set everything to the following.
Precision: 1000000
Radix:10
Implimentation:ort.apfloat.internal.IntBuilderFactory
And use the Chudnovsky method

THINGS TO NOTE
This will use 100% of your computers core processor. Meaning it will leverage EVERYTHING you have to calculate this. I did this for fun so below are my results.


3.829 seconds
Final value took 0.847 seconds
Total elapsed time 4.687 seconds



So I changed the Precision as follows
Precision: 100000000

Results follow

elapsed time 62.231 seconds
Final value took 12.676 seconds
Total elapsed time 74.916 seconds


This shows me more than anything that computers are indeed incredible and shows me how far some things have come and how much extreme power we have at our fingertips these days. It is said that the first Apollo mission was done with less computing power than is available in today's standard graphing calculator. I ask you to reflect on this for a moment.
Image
A man either lives life as it happens to him,
meets it head-on and licks it,
or he turns his back on it and starts to wither away.
User avatar
Serrif Von Chatlyn
Never mistake composure for ease
 
Posts: 892
Words: 999183
Joined roleplay: February 16th, 2011, 4:13 am
Race: Human
Character sheet
Storyteller secrets
Medals: 4
Trailblazer (1) One Million Words! (1)
2012 Mizahar NaNo Winner (1) 2011 Mizahar NaNo Winner (1)

Pi is fun however

Postby Elhaym on March 20th, 2012, 2:12 am

100% complete, elapsed time 2.85 seconds
Final value took 0.609 seconds
Total elapsed time 3.481 seconds

And... 100,000+ characters worth of pi calculation. Sheesh!
User avatar
Elhaym
Kick! Punch! It's all in the mind.
 
Posts: 476
Words: 567762
Joined roleplay: August 16th, 2010, 4:25 am
Location: Lhavit
Race: Human
Character sheet
Storyteller secrets
Scrapbook
Medals: 3
Artist (1) Overlored (1)
Donor (1)

Pi is fun however

Postby Ronan on March 20th, 2012, 10:02 am

Serriff: Is this calculation to build the *ahem* weapon we discussed? :P
User avatar
Ronan
Nomadic Soul
 
Posts: 830
Words: 305663
Joined roleplay: June 28th, 2011, 9:39 pm
Location: Zeltiva, Sylira
Race: Human, Drykas
Character sheet
Storyteller secrets
Scrapbook
Plotnotes
Medals: 3
Overlored (1) Donor (1)
2012 Mizahar NaNo Winner (1)

Pi is fun however

Postby Eridanus on March 20th, 2012, 10:11 am

Gadgeteering + Animation; let's build Miz's first computer and calculate Pi!
NOTICE: I am currently mostly inactive til August. As such, guild activities are temporarily halted (watch out for major revamps, changes and organizations when I'm back in full force). Any activity with Eri will be rather slow as well, but I am slowly readjusting back to "Mizahar life", so to speak, so do PM me if we have a thread that I left hanging and we'll talk.



"You must be one hardcore scholar, Eri." (Laszlo)
First winner of the prestigious Mirage's No Kill Medal.
User avatar
Eridanus
It's Peanut Butter Jelly Time!
 
Posts: 1893
Words: 1312082
Joined roleplay: October 24th, 2011, 2:03 am
Location: Sylira
Race: Ethaefal
Character sheet
Storyteller secrets
Scrapbook
Plotnotes
Medals: 8
Featured Character (1) Overlored (1)
One Thousand Posts! (1) One Million Words! (1)
Extreme Scrapbooker (1) 2012 Mizahar NaNo Winner (1)
2011 Mizahar NaNo Winner (1) 2011 Top NaNo Word Count (1)

Pi is fun however

Postby Nai'shee on March 21st, 2012, 10:49 pm

100% complete, elapsed time 13.779 seconds
Final value took 2.091 seconds
Total elapsed time 15.875 seconds

It takes really long with the higher precision, I couldn't wait (gtg, maybe one day). Indeed, they are powerful.
ABSENCE
Common
Fratava
Image
User avatar
Nai'shee
One day, you'll all know my name
 
Posts: 479
Words: 240186
Joined roleplay: December 30th, 2011, 7:22 pm
Location: IC: Zeltiva
Race: Human
Character sheet
Scrapbook
Plotnotes

Pi is fun however

Postby Serrif Von Chatlyn on March 22nd, 2012, 1:02 pm

Image
I did this really because I find it fascinating how much power we have at our fingertips and how little we actually do with it. So I searched to find out how to leverage my CPU's massive amount of potential that I know I never use fully. And found the Pi calculating thing. And honestly it really is amazing how much power we have.

Image
A man either lives life as it happens to him,
meets it head-on and licks it,
or he turns his back on it and starts to wither away.
User avatar
Serrif Von Chatlyn
Never mistake composure for ease
 
Posts: 892
Words: 999183
Joined roleplay: February 16th, 2011, 4:13 am
Race: Human
Character sheet
Storyteller secrets
Medals: 4
Trailblazer (1) One Million Words! (1)
2012 Mizahar NaNo Winner (1) 2011 Mizahar NaNo Winner (1)

Pi is fun however

Postby Verilian on March 22nd, 2012, 2:06 pm

This was done on my crappy computer at work. I'll have to try it at home though. For the first settings:

12.937 seconds
Final value took 2.075 seconds
Total elapsed time 15.02 seconds


And for the bigger one:

Waiting...

Waiting...

Waiting...

*aborted at 22% after ten min*

Okay.. wow.. I was not expecting it to take that long. I will try again on lunch, I actually have to work now, lol.
Forecast for tonight... Dark
-----
Wind Reach---Wind Reach Lore---WR Request Thread
User avatar
Verilian
Retired Staff
 
Posts: 2342
Words: 1113582
Joined roleplay: December 23rd, 2010, 9:53 pm
Location: AS of Wind Reach
Race: Staff account
Storyteller secrets
Office
Scrapbook
Medals: 4
Featured Contributor (1) Trailblazer (1)
One Thousand Posts! (1) Extreme Scrapbooker (1)

Pi is fun however

Postby Serrif Von Chatlyn on March 22nd, 2012, 2:48 pm

Image
I feel like this is kinda turning into a computer drag race or something.

Image
A man either lives life as it happens to him,
meets it head-on and licks it,
or he turns his back on it and starts to wither away.
User avatar
Serrif Von Chatlyn
Never mistake composure for ease
 
Posts: 892
Words: 999183
Joined roleplay: February 16th, 2011, 4:13 am
Race: Human
Character sheet
Storyteller secrets
Medals: 4
Trailblazer (1) One Million Words! (1)
2012 Mizahar NaNo Winner (1) 2011 Mizahar NaNo Winner (1)

Pi is fun however

Postby Verilian on March 22nd, 2012, 2:51 pm

I don't know a whole lot about the technical side of computers, how they work and how they're put together and stuff. I can operate them and know some programming, but it always fascinates me to see stuff like this and compare from computer to computer. I'm really curious to see the difference between this crappy work computer I'm on and the one I have at home.
Forecast for tonight... Dark
-----
Wind Reach---Wind Reach Lore---WR Request Thread
User avatar
Verilian
Retired Staff
 
Posts: 2342
Words: 1113582
Joined roleplay: December 23rd, 2010, 9:53 pm
Location: AS of Wind Reach
Race: Staff account
Storyteller secrets
Office
Scrapbook
Medals: 4
Featured Contributor (1) Trailblazer (1)
One Thousand Posts! (1) Extreme Scrapbooker (1)

Pi is fun however

Postby Serrif Von Chatlyn on March 22nd, 2012, 2:53 pm

Image
You will see a difference trust me. Should be fun for you.
I did it on my work computer and the results for the first were as follows

100% complete, elapsed time 6.271 seconds
Final value took 1.101 seconds
Total elapsed time 7.381 seconds

Image
A man either lives life as it happens to him,
meets it head-on and licks it,
or he turns his back on it and starts to wither away.
User avatar
Serrif Von Chatlyn
Never mistake composure for ease
 
Posts: 892
Words: 999183
Joined roleplay: February 16th, 2011, 4:13 am
Race: Human
Character sheet
Storyteller secrets
Medals: 4
Trailblazer (1) One Million Words! (1)
2012 Mizahar NaNo Winner (1) 2011 Mizahar NaNo Winner (1)


Who is online

Users browsing this forum: No registered users and 0 guests