Weekly homework
Week 1. Due Th Jan 18
  • cover all sections until the "Advanced Unix/Linux" from www.tutorialspoint.com/unix/
  • develop a personal "cheat sheet" of useful commands
  • choose an editor (vi or gedit) and learn its basics
  • optional: use "jupyter notebook" to keep notes in this class; see /work/5P10/Lectures
Week 2. Due Th Jan 25
  • cover the "Advanced Unix/Linux" from www.tutorialspoint.com/unix/
  • complete a bash script for your choice of a task, involving file operations, searching for textual information inside files, etc.
Week 3. Due Th Feb 1
  • Review and revise the skeleton Makefile distributed in the lacture; adapt it to the needs of your version of packet.c.
  • Modify and extend the functionality of packet.c to accept additional command-line switches, with and without parameters. Add error checking against invalid parameter values as needed.
  • Read through packet.f and reconcile its code to the derivation of the solution for the Schrödinger equation developed in class. Convert the solution to its dimensionless form and verify that the Fortran code actually calculates the correct Gaussian packet.
Week 4. Due Th Feb 8
  • Complete the port of the Fortran program packet.f to C. Use gnuplot for plotting its output.
Week 5. Due Th Feb 15
  • Complete last week's homework: port the Fortran program packet.f to C. Use gnuplot for plotting its output.
  • Student Project No.1:
    Code (in C) a numerical solution to the 1D square well potential problem in QM. Find the roots of the characteristic equation, having converted it to dimensionless form. Generate a plot of \(|\psi(x)|^2\) across the potential well, for each root found.
Week 6. Reading Week. Due Th Mar 1
  • Advanced fitting and plotting use: complete gnuplot- or physica-based analysis of the Cavendish experiment data.
  • Introduction to octave: work through the basic octave tutorial.
  • Convert one of previously obtained graphing/fitting exercises (VI.dat, Cavendish.dat) to octave.