kun1z / grant0

A C model of Grant Sanderson's question: What is the probability of floor(x / y) being an even number when both x & y are chosen at random in the field [0, 1)?

Home Page:https://www.youtube.com/watch?v=QvuQH4_05LI

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

grant0

Relevant video: https://www.youtube.com/watch?v=QvuQH4_05LI

A C model of Grant Sanderson's question: What is the probability of floor(x / y) being an even number when both x & y are chosen at random in the field [0, 1) ?

This program can run on AWS EC2, check the AWS folder for some helpful scripts.

0.5 x (2 - ln(2))
or
0.653426409720027345291383939270911715962249932819872372939

About

A C model of Grant Sanderson's question: What is the probability of floor(x / y) being an even number when both x & y are chosen at random in the field [0, 1)?

https://www.youtube.com/watch?v=QvuQH4_05LI

License:The Unlicense


Languages

Language:C 75.5%Language:Shell 22.5%Language:Objective-C 2.0%