## 6.00SC Introduction to Computer Science and Programming

**6.00SC Introduction to Computer Science and Programming (Spring 2011, MIT OCW)**. Instructor: Professor John Guttag. This subject is aimed at students with
little or no programming experience. It aims to provide students with an understanding of the role computation can play in solving problems. It also aims to help
students, regardless of their major, to feel justifiably confident of their ability to write small programs that allow them to accomplish useful goals.
The class will use the Python programming language. (from **ocw.mit.edu**)

Lecture 16 - Using Randomness to Solve Non-random Problems |

This lecture starts by defining normal (Gaussian), uniform, and exponential distributions. It then shows how Monte Carlo simulations can be used to analyze the classic Monty Hall problem and to find an approximate value of pi.

References |

Using Randomness to Solve Non-random Problems | Unit 2Resources: Lecture code handout (PDF); Lecture code (PY). Check Yourself. Problem Sets. Further Study. |

Go to **the Course Home** or watch other lectures: