You are not logged in.
what is the fastest way to compute???(i.e. factorial of 285714)???
Last edited by er.neerajsrivastava (2006-12-27 04:16:54)
Offline
He he!
Joke, right?
IPBLE: Increasing Performance By Lowering Expectations.
Offline
It has more than a million digits!
But...
Using Mathematica I get it for 1.734 seconds
Last edited by krassi_holmz (2006-12-27 07:43:06)
IPBLE: Increasing Performance By Lowering Expectations.
Offline
If you want an fast approximation, but not an exact answer, use Stirling's Formula:
Offline
Yep, Toast is correct.
It's a very well known James-Stirling formula. Like Toast said.
Offline
But in some cases, an accurate result is needed.
er, could you tell us what do you need it for?
IPBLE: Increasing Performance By Lowering Expectations.
Offline
Finding the factorial of 285714 does seem a little awkward to be a homework question. Maybe it isn't being used for mathematics.
Or maybe it was just something random that er.neerajsrivastava picked out or the random mist of randomness.
Offline
Not entirely random. 2/7 = 0.285714...
Great Answers, Guys!
"The physicists defer only to mathematicians, and the mathematicians defer only to God ..." - Leon M. Lederman
Offline
Hmm, didn't notice that, well spotted.
Offline
Yep. Rod has an eye!
I was just trying to post that.
Last edited by krassi_holmz (2006-12-27 12:11:25)
IPBLE: Increasing Performance By Lowering Expectations.
Offline
Maybe er.neerajsrivastava is doing some sort of experiment on finding the factorials of irrational/rational/recurring digits. Or something like that.
Offline
thanks guys it helped me a lot but one more thing puzzled me ? the significanse of 2/7 ? well it is not a random one.
Offline
yep. What kind if relation are you looking for?
IPBLE: Increasing Performance By Lowering Expectations.
Offline
This 'Mathematica'...is it free? It sounds like a good program.
Offline
Nope.
It would be cool if it was.
I have it as a kind of present. It helps me much for some problems.
But there exist many free math programs - I've had a link somewhere - and some of them are even better than mathematica in some cases.
IPBLE: Increasing Performance By Lowering Expectations.
Offline
Oh, that's a bit of a drag, it would've been good to have that program.
Thanks for the information, I will be looking for some good math programs.
Offline
Some links:
Mathematica Wikipedia (I like this description):
http://en.wikipedia.org/wiki/Mathematica
Maple (currently the bigger competitior):
http://en.wikipedia.org/wiki/Maple_comp … bra_system
A list:
http://en.wikipedia.org/wiki/List_of_co … ra_systems
IPBLE: Increasing Performance By Lowering Expectations.
Offline
That's extremely useful, thanks.
Offline
for nothing.
IPBLE: Increasing Performance By Lowering Expectations.
Offline
I remember seeing an image you posted, did you use Maple for it? I saw a similar image from WikiPedia.
Offline
Which Image?
If it's some kind of a graph of a function, then it should be Mathematica.
I've posted Maple images only 1 ro 2 times.
Last edited by krassi_holmz (2006-12-29 08:17:38)
IPBLE: Increasing Performance By Lowering Expectations.
Offline
Yes, it's the graph of a function coloured blue.
Offline
Finding the factorial of 285714 does seem a little awkward to be a homework question. Maybe it isn't being used for mathematics.
Or maybe it was just something random that er.neerajsrivastava picked out or the random mist of randomness.
Is 10^4486550 close to right using Stirlings? I punched in log to simplify in calculator and then
said it was 10 up that amount later.
My cheap calculator says: 10^4486549.428, oh but I retyped in a #, so off a little, instead
of using parenthesis.
Last edited by John E. Franklin (2008-01-19 05:25:52)
igloo myrtilles fourmis
Offline