lab05 : Lab 5: Simulations
| num | ready? | description | assigned | due |
|---|---|---|---|---|
| lab05 | true | Lab 5: Simulations | Wed 11/06 05:00PM | Wed 11/13 05:00PM |
Lab 5: Simulations
Here’s the link to the Jupyter Notebook for this lab.
Always the above link in order to see the latest version of this assignment (just refreshing the page with the opened notebook will not work).
In this lab you will be using
- Boolean operators
if/else/elifconditional statementsnp.random.choice(array_name)- functions that you defined yourself
applymethod for tables- iterating over arrays using
forloops - simulation steps to compute different statistics
inandnot inoperators to check for presence of valuesnp.appendmethod to add values to an array
This lab covers Chapter 9 and Chapter 10 of the textbook.