PHYS 310 - Experimental Physics |

- Homework 1 (due 1/26): Assignment, (212 Lab Manual Appendix) | Solutions
- Homework 2 (due 2/2): Assignment | Solutions
- Homework 3 (due 2/9): Assignment
- Homework 4 (due 2/16): Assignment | Data: hw4-1.dat | hw4-2.dat | hw4-3.dat | Solutions
- First paper draft due 2/25: Paper Writing Instructions (more info and sample papers below)
- Homework 5 (due 3/29): Assignment | you need: Chi4-Surface Tue-Class zipfile
- Homework 6 (due 4/14): Assignment

- Class 1: Introduction to Mathematica
- Class 2: Statistics Tools for Class 2 and Simulation Example: Die Rolling
- Class 3: Error Propagation Work for Class 3
- Class 4: Fitting Models to Data with IPython: Jack's IPython-Tutorial | goodfit.py | lineData.txt | mlr.py | mlrData.txt
- Class 5: Scientific Papers and LaTeX: template_phys310.tex | samplefig1.eps | samplefig2.eps | template_bibincl.tex | template_bibincl.bib
- Class 6: Figures: Classwork for xfig and xmgrace
- Class 7: Chi4-Surface with Ipython and Dreamz Chi4-Surface Tue-Class zipfile
- Class 8: Literature Search: Class Work and for Literature Search Tools see below
- Class 9: Scientific Papers II: see below "Scientific Papers II"
- Class 10 (Thu): Peer Response: Self-Assessment and Writer Centered Peer Response (from BU Writing Center)
- Class 11: Hypothesis Testing: Talk
- Class 12: Scientific Talks

- 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)
- Intro to Sympy (symbolic computation) --- variables, integration, differentiation: html, pdf, ipynb
- More symbolic computation examples: nbviewer,
- Symbolic solution of differential equations: html, pdf, ipynb
- Numerical solution of coupled ODEs: html, pdf, ipynb
- Numerical integration: html, pdf, ipynb
- Numerical differentiation (including divergence, gradient, curl, etc.): html, pdf, ipynb
- FFTs: html, pdf, ipynb
- Line integrals using sympy (PHYS 333): html, pdf, ipynb
- Chaos: Driven, damped pendulum (PHYS 331): html, pdf, ipynb

**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:

- 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 template.tex, samplefig.pdf, and cubic.pdf. After processing these files you should generate output that looks like this: template.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