Physics 126 Course Handouts, Lectures, Homework, and Software

Course Information

Course materials



Experiments
  1. Geometrical Optics
  2. Wave Nature of Lightnotebook and report due Saturday, May 3, at 11:55 PM via Gradescope.


Preparing your lab reports and notebooks

All lab reports must be PDF files created with LaTeX, as described in the guidelines handout above. They may be no larger than 11 MB (Megabytes) each. Scale down any images you intend to use in your report so that the number of pixels in the horizontal direction is no more than 1024. For your notebooks, scan or photograph the pages and use LaTeX or some other software to combine them into a single PDF file. The notebook file may be no larger than 17 MB, so you may need to scale the images before combining them. Make sure your notebook images are readable! You will lose credit if the TAs cannot read what you submit.

Please include your perm number, your last name, and the assignment in the filename for everything you turn in. For example, fermi_1602177_notebook1.pdf or fermi_1602177_report1.pdf . Do not use spaces in your filenames. You may use underscores instead.

It is a good idea to compute and save the MD5 checksum of each file you submit. Use Google to find out how to do this on your computer. Upload the checksum to Gradescope as a separate text file along with each notebook or report. That way if you forget the attachment or the file is corrupted, the file can be sent later and the TA will know it was completed on time.



Examples

Overleaf (set up free account to use)
Overleaf example
Copy Overleaf project

LaTeX example source
LaTeX example figure
LaTeX example PDF output file

Python plotting script: simple_plot.py
Sample data file

Integer histogram script: inthist.py



Software

update_physrpi



Procedures

Raspberry Pi installation (txt)
Flash drive procedures (txt)
I2C wiring procedures



Python 3.11 Documentation

Contents
Tutorial
Library Reference
Matplotlib



Other Material

The Linux Command Line, Fifth Internet Edition by William E. Shotts, Jr.

Raspberry Pi GPIO pin diagram
Raspberry Pi 5 I2C wiring photo
Raspberry Pi 400 I2C wiring photo
MCP9808 wiring diagram



UCSB logo