PHYS 310 - Experimental Physics |

- Monday: 9-10, Tom Solomon; 1-2 Katharina Vollmayr-Lee
- Tuesday: 8:30 - 9:30, Tom Solomon; 11 - noon, Ibrahim Sulai
- Wednesday: 11-noon, Ibrahim Sulai; 1-3 Katharina Vollmayr-Lee; 3:30-4:30, Tom Solomon
- Thursday: 11 - noon, Ibrahim Sulai
- Friday: 11 - noon, Ibrahim Sulai; 1-3, Katharina Vollmayr-Lee; 3-4, Tom Solomon

- Homework 1 (due 1/24): Assignment, (212 Lab Manual Appendix) | Solutions
- Homework 2 (due 1/31): Assignment | Solutions
- Homework 3 (due 2/7): Assignment | Solutions
- Homework 4 (due 2/14): Assignment | Data: hw4-1.dat | hw4-2.dat | hw4-3.dat Solutions
- First paper draft due 2/23: Paper Writing Instructions (more info and sample papers below)
- Homework 5, Part 1 (due 3/28): Assignment, part I (in a Mathematica Notebook, with the data already in)

- Class 1: Introduction to Mathematica and magofT.dat
- Class 2: Mathematica: Random Numbers, Distributions, Simulated Data
- Class 3: PDF of error propagation examples in Mathematics or same thing as a Mathematica notebook.
- Class 5: Scientific Papers and LaTeX:
In Class Work
**Paper I Assignment:**Paper Writing Instructions- The Art of Scientific Report Writing (Oxford)
- Preparing a Manuscript for Publication; (Journal of Undergraduate Research In Physics)
- Example: Traffic Flow Paper - Chowdhury
- Research Paper Template Files (download to your writing directory and do:
*tar -xvf paperTemplateS2017.tar*)

- Class 6: Hypothesis Testing
- Tuesday, March 7, 2017: Mathematica Notebook that we are using for class
- Class 8: Literature Search: Lit.Search Class Phys310 Sp2016 and Lit.Search Class Phys338 Sp2017
- Tuesday, April 4, 2017: Responsible Conduct of Research (ethics) materials
- Tuesday, April 11, 2017 Peer Response: Draft Self-Assesment, How It Works (from BU Writing Center),
- Tuesday, April 18, 2017 Scientific Talks:
- How To Give Talks
- Talk Examples:

- Selforganized Criticality with LJ (KVL, Swarthmore 2007) ,
- SiO2 Jumps & Scaling (KVL, Aspen 2015)

- Granular Gas / Hydrodynamics (APS 2011)

- Tom: department colloquium at Dickinson (April 2017)

- Tom: shorter talk for Dynamics Days Europe (2016)

- Tom: shorter talk for Woods Hole conference (2016)

- Light Propagation in Negative-Index Materials (ML, SUNY Stony Brook 2010) ,
- Two-Photon Interference (ML, Bucknell 2011)

- Latex Beamer:

Latex Beamer Example(pdf), Sourcefile (tex) which also needs, fig1.pdf, fig2.pdf, fig3.pdf

For the compiling see header of beamer_example.tex.

- Introduction/Basics: Simple examples (from PHYS 221)
- More on plots:
- Options for nicer plots
- Plots with error bars
- Log plots
- Exporting graphics

- Tools for Statistics,
- Random Numbers
- Tools for Distributions
- Histograms

- Curve Fitting Basics

- Tools for Statistics:
html,
pdf,
ipynb
- Random Numbers
- Tools for Distributions
- Histograms

- Curve Fitting
- Linear (based on Jack Gallimore's
`mlr.py`

): html, pdf, ipynb, sample.dat - Nonlinear: html, pdf, ipynb, sample2.dat

- Linear (based on Jack Gallimore's
- Simulation example for class 2 (die rolling, CLT): html, pdf, ipynb
- Error propagation examples (class 3): html, pdf, ipynb
- Correlation and uncertainties (Part I: Monte Carlo Simulation, Part II: Covariance Matrix), material from Marty's class. html, pdf, ipynb image
- Homework
- Other examples (not necessarily for PHYS 310)
- Vpython: html, ipynb
- File I/0: html, ipynb, test1.dat, test2.csv,
- Simple numerical integration (Euler, as in PHYS 211, 212, 221): html, pdf, ipynb
- Numerical evaluation of integrals using
`scipy.integral.quad()`

: html, pdf, ipynb - Numerical solution of ODEs using
`scipy.odeint()`

: html, pdf, ipynb - Root finding: html, pdf, ipynb
- Chaos: Driven damped pendulum (PHYS 331): html, pdf, ipynb
- FFTs: html, pdf, ipynb
- Numerical differentiation (including divergence, gradient, curl, etc.): html, pdf, ipynb
- Intro to Sympy (symbolic computation) --- variables, integration, differentiation: html, pdf, ipynb
- More symbolic computation examples: nbviewer,
- Symbolic solution of differential equations: html, pdf, ipynb
- Line integrals using sympy (PHYS 333): html, pdf, ipynb
- Astronomy Examples:

**Paper I Assignment:**Paper Writing Instructions- The Art of Scientific Report Writing (Oxford)
- Preparing a Manuscript for Publication; I may not agree with all of this one. (Journal of Undergraduate Research In Physics)
- Research Paper Template Files (download to your writing directory and do:
`tar -xvf paperTemplatePhys310.tar`

) - Traffic Flow Paper - Chowdhury

- Ten Steps to Writing an Effective Abstract
- Scientific Paper X (abstract writing exercise)
- Homework Assignment
- Physical Review Style and Notation Guide A good place to look for standard paper style definitions, everything from table formatting to subscript and superscript conventions (includes information on formatting and using references and common journal name abbreviations)

- Scientific Talks
- Talk Examples:

- End-of-summer research
talk from previous student (Savannah Gowen) (2014)

- Selforganized Criticality with LJ (KVL, Swarthmore 2007) ,
- SiO2 Jumps & Scaling (KVL, Aspen 2015)

- Granular Gas / Hydrodynamics (APS 2011)

- Light Propagation in Negative-Index Materials (ML, SUNY Stony Brook 2010) ,
- Two-Photon Interference (ML, Bucknell 2011)
- Tom: department colloquium at Dickinson (April 2017)

- Tom: shorter talk for Woods Hole conference (2016)

- End-of-summer research
talk from previous student (Savannah Gowen) (2014)
- Latex Beamer:

Latex Beamer Example(pdf), Sourcefile (tex) which also needs, fig1.pdf, fig2.pdf, fig3.pdf

For the compiling see header of beamer_example.tex.

- Summer 2016 Skill Session: handout
- Science Papers: Google Scholar and Web of Science
- BU pages: Library & IT , Databases
- Books: BU Library Catalog (World Cat)
- Physics Sources: APS Journals, IOP Journals, arXiv.org
- Astronomy papers: ADS search and ADS Streamlined Search

- xfig
- xfig Users Manual
- xfig Tutorial (pdf)
- Using LaTeX within xfig
- Graph 1
- Graph 2
- NSF Logo
- Poster
- Model
- EM Pulse

- Brief Emacs Summary
- Brief Linux Summary, Linux Exercise, and Linux Tutorial (on web)
- Getting Files Across the Windows/Linux Divide

- From the
`phys310`

account on linux to Bucknell Windows:

- Navigate to "All Programs," and scroll to XManager Enterprise 4.
- Click on
`Xftp`

. - In the Sessions window that appears, enter a Name for you
"session," e.g.,
`linuxremote`

, and in the Host box, enter`linuxremote.eg.bucknell.edu`

. - Click
`OK`

(or`Enter`

). - Click
`Connect`

- Login (You can simply accept the Host Key)
- To make future connections easy, return to "All Programs," navigate to XManager4 and drag the Xftp icon to you desktop. The Session you created should be the first thing you see when you click on the Xftp icon on your desktop.

- From Bucknell Windows Netspace to a Bucknell Linux computer
- Files in Netspace should be accessible from either a desktop icon, or else by navigating from the Computer icon.

- From the
- gnuplot
- gnuplot Manual
- A Brief Introduction to gnuplot
- gnuplot FAQ
- gnuplot tips (not so frequently asked questions)
- gnuplot Central (official web site for gnuplot)
- Other gnuplot Information
- Fitting Command:
`fit [x1:x2] f(x) "file.dat" via a,b,c`

where`x1`

and`x2`

give the range of data to be fit,`f(x)`

is a previously defined function (or the function itself),`file.dat`

is the data file, and`a`

,`b`

, and`c`

are the parameters to be fit. - Making an EPS version of a plot:
`set term postscript eps`

`set output "filename.eps"`

`replot`

`set term x11`

`set term postscript eps 28`

- Simple Paper Template:

NOTE: These files are written for pdflatex (summer 2016, ML).

Download the files template2.tex, samplefig.pdf, and cubic.pdf. After processing these files you should generate output that looks like this: template2.pdf. - Simple Paper Template using bibtex:

Same template as above, but bibliography generated from a .bib file: templateWithBib.tex, myRefs.bib. The result should look like templateWithBib.pdf - Sample file containing many more sophisticated examples of
how to typeset a physics paper:

This file apssamp.tex generates the output displayed here: apssamp.pdf. Comparing these files side-by-side is a good way to learn lots about typesetting papers. - APS homepage for RevTeX (including links to documentation)
- Tutorials (A random sampling of many that you can find online):
- Reference materials
- Outline of steps for paper production using PDFLaTeX.
(The % signs represent the command line prompt in a
unix/Linux terminal session.)
- Copy template
`template.tex`

to a working file, say`paper.tex`

:

`% cp sample.tex paper.tex`

- Edit
`paper.tex`

:

`% gedit paper.tex &`

(or use your editor) - Compile the tex file:

`% pdflatex paper.tex`

- Compile the tex file (again):

`% pdflatex paper.tex`

- View the
`.pdf`

file:

`% evince paper.pdf &`

(or use your favorite viewer) - You may edit, save, and recompile without closing the evince viewer; it will update the displayed version automatically.

- Copy template

- Projected Talks

Marty Ligare, mligare@bucknell.edu