• Welcome to Valhalla Legends Archive.
 

Google calculator!

Started by Yoni, August 23, 2003, 08:48 AM

Previous topic - Next topic

Yoni

Just enter a mathematical expression into the Google search box, and it will happily calculate it for you! (As well as display search results, if any.)

Some examples:
1+1
17/42
e
pi
sqrt(-1)
(1+2*i)*(3+4*i)
e^i
e^(i*pi)+1

Some other examples:
answer to life the universe and everything
log(sqrt(answer to life the universe and everything + 7) + 1) / log(2)

Some useful conversion stuff:
one mile in km
two grams in pounds

iago

It won't even try to calculate 5/0 :(
This'll make an interesting test for broken AV:
QuoteX5O!P%@AP[4\PZX54(P^)7CC)7}$EICAR-STANDARD-ANTIVIRUS-TEST-FILE!$H+H*


Yoni

Quote from: iago on August 23, 2003, 07:19 PM
It won't even try to calculate 5/0 :(
That makes sense... There are either 0 or infinite correct answers, depending on how you look at it :)

Adron

What about 1? "Invalid use of NULL"? :P

Yoni


Raven