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
/elif
conditional statementsnp.random.choice(array_name)
- functions that you defined yourself
apply
method for tables- iterating over arrays using
for
loops - simulation steps to compute different statistics
in
andnot in
operators to check for presence of valuesnp.append
method to add values to an array
This lab covers Chapter 9 and Chapter 10 of the textbook.