Skip to content

A python version of the simulation of the 2 candles 1 cake problem (for more info see https://www.youtube.com/watch?v=FkVe8qrT0LA)

Notifications You must be signed in to change notification settings

Ghiloar/Candles-and-cakes

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 

Repository files navigation

Candles-and-cakes

The problem is the following: on a linear cake with 2 candles placed at random positions what is the probability that, after cutting the cake at a random position there will be exactly 1 candle on one slice and 1 candle on the other? What about a circular cake?

About

A python version of the simulation of the 2 candles 1 cake problem (for more info see https://www.youtube.com/watch?v=FkVe8qrT0LA)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages