PHYS 142 VR Lab Operator Setup

Complete this first:

Complete this second:

VR Lab Streaming Instructions

Plotting Guides

The following guides demonstrate how to plot and linearize data for two particles that are thought to follow a force law that looks like $\vec F=(A\sqrt{r})\hat{r}$ by two methods:

Using Google Sheets

Find the original data here, in the Example tab:

https://docs.google.com/spreadsheets/d/1Gn32al-yS9XOhmO0DSJg7UNYZ-3bAeC75YgjVgU1LA8/edit#gid=187566671

Here is a video showing how to generate the plots in the Complete tab:

https://s3-us-west-2.amazonaws.com/secure.notion-static.com/43166e50-e7c0-4c45-a143-0441d7c09367/Lab2A_Sheets_Plotting.mp4

You are encouraged to make a copy of the original sheet and generate plots in the Example tab, following along with the video.

Using Python's matplotlib library

The process is described and executed in a Google CoLab notebook, which is a tool for running Python code in your browser without having to install anything:

https://colab.research.google.com/drive/1Mp2m9HAYagfiwHiT0w6op436l8icbX0b?usp=sharing

I suggest you use the Copy to Drive button at the top of the page to make your own, editable copy of this notebook. To run the code in each cell of the notebook, click the "play" button at the top left of the cell that appears when you hover over the cell.