Purpose:

Since the lab project this term is to learn how to create appropriate numberical physics models using python to execute the model and markdown language to document your work we need to be sure you have access to the these tools ASAP.

The tool(s) that we are using is called Jupyter notebooks. These are an extension of the python notebook model that permit the user to potentially access coding tools other than python. Makes sense that the first step is to get the software to create and run Jupyter notebooks installed on whatever computer it is that you use for school.

I appreciate that everyone's access to computers varies dramatically. I do think that the most effective strategy is to have the software installed on your own computer. We do have it installed on the laptops in the physics lab so that is an option although it limits your access. On the install page there are a number of web driven solutions that could work if you have interweb access on any machine.

The references that you might need to accomplish the tasks below are in the Toast2.0 notebook that you can download on the Jupyter Notebook page on the Software Resource page.

Procedure:  

Go to the PH213 Software Resource page and establish some plan for how you are going to have access to the Jupyter Lab software. If you're going to install it on your system via Anaconda then give it a try. If you have a different plan that's fine but get a plan in place and executed.

1) Based on what we explore in the first introduction to the simplified toast model (Toast Simplified) create a system for keeping track of your Jupyter files that distinguishes between reference notebooks, the model notebooks for the toast project, and notebooks that you are building for your project.

2) Open a Jupyter notebook and create two cells. The first will be a markdown cell and the second will be a code cell.

3) In the markdown cell create a heading (large text) with a title for this lab. Underneath that title place your name in a slightly smaller heading font. Below that write a verbal description of the Pythagorean Theorem and then create the mathematical formula for the hypotenuse (not the square of the hypotenuse!) using tools we will discuss in lab.

4) In the code cell execute some basic math chore of your choice. Asign the answer to a variable and print out a simple (a few words) description of what you calculated followed by the answer.

5) Export your notebook to a pdf file and turn it in to Bb.

LAB Deliverables:

1) Demo: Demonstrate that you can create a Jupyter notebook.

2) Demo: Demonstrate that you can create a cell with some basic markdown text using headers and embedded mathematics.

3) Demo: Demostrate that you can enter some basic python code into a code cell and execute it. This code must also generate printed output as well as the value of some variable.

4) Demo: Demonstrate that you can export your notebook as a pdf that Bb will accept.