Showing posts with label Math. Show all posts
Showing posts with label Math. Show all posts

Tuesday, April 28, 2009

Inversion 1.3

I have updated Inversion to version 1.3. What has changed with this version is that you can export as text, png and tiff. (Find it under File > Export) I hope you can find this update useful. BTW the exported images show what you can see in the window.

Chagelog:

  • Added exporting options (text, png and tiff)

Download:

Inversion 1.3,dmg
Source.zip

System requirements

  • Mac OS X 10.5 or later
  • 1.5 MB free disk space

Example for exported png:

Export sample

Example for exported txt:

Given objects:
Cirle - r: 12.000000, center: point( 50.000000 | 30.000000 )
Cirle - r: 12.000000, center: point( 50.000000 | 20.000000 )
Cirle - r: 12.000000, center: point( 34.538287 | 28.296654 )

Solutions:
Cirle - r: 20.826605, center: point( 42.726146 | 25.000000 )
Cirle - r: -3.173395, center: point( 42.726146 | 25.000000 )
Cirle - r: -6.363027, center: point( 52.602972 | 25.000000 )
Cirle - r: 7.369658, center: point( 31.286805 | 25.000000 )
Cirle - r: 4.118702, center: point( 43.815119 | 15.115115 )
Cirle - r: -3.322336, center: point( 41.847730 | 32.973607 )
Cirle - r: -4.984636, center: point( 49.145481 | 36.963126 )
Cirle - r: 2.065743, center: point( 40.065832 | 20.042218 )

Wednesday, October 1, 2008

The Monty Hall problem

Something really amazing:

Imagine that you are a contestant on the classic television game show Let’s Make a Deal. Behind one of three doors is a brand-new automobile. Behind the other two are goats. You choose door number one. Host Monty Hall, who knows what is behind all three doors, shows you that a goat is behind number two, then inquires: Would you like to keep the door you chose or switch? Our folk numeracy—our natural tendency to think anecdotally and to focus on small-number runs—tells us that it is 50–50, so it doesn’t matter, right?
How Randomness Rules Our World and Why We Cannot See It: Scientific American

Amazingly, the answer is: Switch, because you will win 2/3

But why is this so?
If you choose the correct door first, the other door will be a wrong door. If you choose a wrong door first, the other door has to be correct, because the host can't show you the correct door, just one with a goat behind. Because of that, the probability that you will win is the same as the one that you will choose a wrong door first. And that is 2/3.
If you do this with 10 doors and the host shows you that eight of the nine left are wrong doors, the probability that you will win if you switch is 9/10. Really amazing.

Here you can try it out by yourself: