Monday, August 09, 2004

Google Calculator

To use Google's built-in calculator function, simply enter the calculation you'd like done into the search box and hit the Enter key or click on the Google Search button. The calculator can solve math problems involving basic arithmetic, more complicated math, units of measure and conversions, and physical constants.

I think it is awesome because this makes it possible to perform high precision arithmetic on portable devices like PDAs and mobile-phones which are very restrictive otherwise.

BTW, the largest factorial I could find using Google's Calculator was of 170.

What is the range of the numbers that the Google Calculator can store?

5 comments:

bheema v said...

[What is the range of the numbers that the Google Calculator can store?]

What?
You are talking about integers, I presume?
In which case, using an unbounded binary search of sorts, we have a rather odd case of
2^42 = 4398046511104, but
(2^42+1)× 1 = 4.39804651 × 10^12
giving us a very very strange 42 bit machine(!), or atleat an int/long of 42 bits. But then it does give lg(8796093022208) = 43 which of course proves nothing.

I think they got a huge number implimentation, but are playing lazy.

But then since you are taking of this stupendeous number, I guess you are more interested in the max range, float, double and all.

So I took the huge number and found that
lg (170!) = 1019.36945

Lovely! A number just below my favourite number 2^10 ~ 1024. And so I try...
2^1023 = 4.49423284 × 10^307
and
2^1024 takes you to a search page.

So they are ....
Doing something or the other and rounding off like crazy

2^1023) + ((1.9 × (2^1022)) - 1) = 1.75275081 × 10^308
The lg of which is about 1023.96

Which is it do you think, 42 or 1024 and why 42?
Just because its the answer to life universe and verything?[[ PS. 2^1024 =
179769313486231590772930519078902473361797697894230657273430081157732675805500963132708477322407536021120113879871393357658789768814416622492847430639474124377767893424865485276302219601246094119453082952085005768838150682342462881473913110540827237163350510684586298239947245938479716304835356329624224137216
Says bc]]

bheema v said...

[[
Interesting!

1. Why did you start your calculations with 42?

2. Why is Google showing the Calculator icon on top of search results
on http://www.google.com/search?hl=en&lr=&ie=UTF-8&oe=UTF-8&q=answer+to+life+the+universe+and+everything?

The rabit hole is fun :-)
]]

I didn't start with 42, I started with 32.

it went
2^32
2^64
2^48
2^40
2^44
2^42
then I tried
2^42+1
and so on ;P

For all your answers go to http://en.wikipedia.org/wiki/The_Answer_to_Life,_the_Universe,_and_Everything

Have fun!

Sandeep said...

Hey HHTG fans,
Check out the radio show records of "The Hitchhiker's Guide to the Galaxy."

http://hobbes.nmsu.edu/cgi-bin/h-browse?dir=/pub/.arch-download/hhgttg

Pretty interesting..

--Sandeep Giri
sandeepgiri[at]gmail.com

Anonymous said...

Hey,
In case, any exception or error occurs while doing calculations it just switches to searching mode from calculator..

Anonymous said...

Lost your VISA?
http://www.google.com/search?q=visa+4356000000000000..4356999999999999