Archive for the ‘Just for Fun’ category

Just for Fun – Wolfram Alpha

May 9th, 2010

It’s Sunday… it means it’s time for “Just for Fun”. Every Sunday, we publish a posting not related to finance or investment.

Today, we’re looking at Wolfram Alpha, a computational  knowledge engine. Wolfram Alpha is a long-term project to make all systematic knowledge available for everyone.

Let’s try with a simple query, “S&P 500”. Wolfram Alpha returns something like this:

Wolfram Alpha

Let’s try with more complex queries, “canada inflation rate”. We’ll get something like below from Wolfram Alpha.

Wolfram Alpha

Finally, let’s try something more interesting, “gdp of canada compared to united states”. Surprisingly, Wolfram Alpha is able to interpret this question correctly.

Wolfram Alpha

Try your own queries and have fun with it.

Just for Fun – Birthday Probability

April 25th, 2010

Birthday

It’s Sunday… it means it’s time for “Just for Fun”. Every Sunday, we publish a posting not related to finance or investment.

Now, let’s play a little bit with probability.

If there are 23 people in a room, what is the probability that two persons share the same birthday?

Can you believe that the probability is more than 50%? Yes… I am not kidding, the answer is 50.7%. How come? There are 365 days in a year and there are only 23 people in a room.

I was very surprise too…. Although I am not an expert in probability, I will try to explain how we get this number.

First, let’s start with a simple problem. We have 3 people in a room. What is the probability that two persons share the same birthday? Let’s take a date for the first person. The second person has probability of 1/365 to share the same birthday (we ignore leap year for simplicity). The third person also has the same probability, 1/365. We end up with 2/365.

Do we miss something? Indeed, yes. There is a probability that the second person shares the same birthday as the third person. Things are getting more complicated for 23 people.

How do we solve this problem then? We all know this formula from our class in high school:

P(two persons share the same birthday) = 1 – P(no two persons share the same birthday).

It’s easier to find the probability of no two person share the same birthday, isn’t it?

Back to our problem, let’s take a date for the first person from 23 people. The probability that the second person does not share the same birthday is 364/365. The probability of the third person is 363/365. The probability of the fourth person is 362/365, and so on. So we end up in the following equation:

P(two persons share the same birthday) = 1 – (364 / 365) * (363 / 365) * … * (343 / 365)

P(two persons share the same birthday) = 50.7%

Picture is from stock.xchng.

Just for Fun – Spell with flickr

April 18th, 2010

It’s Sunday… it means it’s time for “Just for Fun”. Every Sunday, we publish a posting not related to finance or investment.

Today, we’re featuring Spell with flickr, a free service that allows you to compose words using images posted on flickr. Note that this is not an official flickr service.

As an example, we tried to compose the title of this blog, 1stmilliondollar; and the result looks like this:

Spell with flickr 

Try your own words… :)

Switch to our mobile site