Venu’s notes

next few classes 5 more sessions

one live coding class with homework assignment - 1 class dice games and fairness - 2 classes One live data visualization class One more data visualization class with a homework assignment

Next term

mandalas with matplotlib - coordinate geometry, trigonometry and plotting Factors Multiples and Divisibility with Python number systems, bases and logarithms Trignometric functions Building/modelling probability distributions

File handling and data visualization data analysis and visualization with matplotlib

Build your own website

rock-paper-scissors keeping track of scores and plotting in rock-paper-scissors treasure hunt grids fair dice games read file and plot

calculator with FLET library?

With coin toss expectation is that we will reach 50:50 over a large number of tosses.

With dice toss, the expectation is - each number (1-6) should appear with equal frequency over a large number of rolls.

When you toss two dice, what happens?

2,3,4,5,6,7,8,9,10,11,12

2 - 1 way (1,1) 3 - 2 ways (1,2), (2,1) 4 - 3 ways (1,3), (2,2), (3,1) 5 - 4 ways (1,4), (2,3), (3,2), (4,1) 6 - 5 ways (1,5), (2,4), (3,3), (4,2), (5,1) 7 - 6 ways (1,6), (2,5), (3,4), (4,3), (5,2), (6,1) 8 - 5 ways (2,6), (3,5), (4,4 ), (5,3), (6,2) 9 - 4 ways (3,6), (4,5), (5,4), (6,3) 10 - 3 ways (4,6), (5,5), (6,4) 11 - 2 ways (5,6), (6,5)
12 - 1 way (6,6)

Relative frequencies of sums of two dice: - 2 - 1/36
- 3 - 2/36 - 4 - 3/36 - 5 - 4/36 - 6 - 5/36
- 7 - 6/36 - 8 - 5/36 - 9 - 4/36 - 10 - 3/36 - 11 - 2/36 - 12 - 1/36