This is a two part lesson, an experiment and simulation that together meets the CCSSM S.IC.B.4-6 and explains AP Stats concepts as well:

This exercise is one we did at the SilverState AP Institute with Josh Tabor, but the nice this is that if you do the first part it fits in Alg 2 nicely, but you can extend it to AP Stats as well.

It is LONG, with lots of pictures to explain how to use the applet so I will put the post after a break: