Created
July 12, 2014 08:10
-
-
Save johndel/12f628143442051e388c to your computer and use it in GitHub Desktop.
Calculation of cagniotte
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
bet1 = 2.25 | |
bet2 = 3.15 | |
bet3 = 3.15 | |
puts "#{(1 - 1/(1/bet1 + 1/bet2 + 1/bet3)) * 100}%" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment