Day 23, Tuesday, April 24, 2018

Applications of pseudo-random numbers

Stock market simulation

Code to start from: day24_stock_simulation.ipynb

Exercise: Vectorize

Exercise: Shrink time step from 1 day to much smaller

stock_1day.png

Exercise: Look at statistics of outcome distribution

Job/marriage problem

Who did best?

test_marriage_job_algorithms.ipynb

test_job_marriage_alg.png

Germ avoidance problem

elliptical_machine_uses_a.jpg

Code to start from: germ_avoidance.ipynb