PHY102 - Physics Computations I
Maintained by Simon
Billinge
All course materials, worksheets and solutions will be posted here
Instructor
Prof Simon Billinge- Rm 4263BPS, 355-9200x2202, billinge@pa.msu.edu
Teaching assistants
Mike Santonocito - santonoc@msu.edu
Worksheets
Worksheet 1, week of Jan 13th, due Jan 22nd (postscript
| pdf)
Worksheet 2, week of Jan 20nd, due Jan 29th (postscript
| pdf),
Solutions (pdf)
Worksheet 3, week of Jan 27th, due Feb 5th (postscript
| pdf),
Solutions (pdf)
Worksheet 4, week of Feb 3th due Feb 12th (postscript
| pdf),
Solutions (pdf),
example/demo (postscript)
Worksheet 5, week of Feb 10th, due Feb 19th (postscript
| pdf),
Solutions (pdf)
Worksheet 6, week of Feb 17th, due Feb 26th (postscript
| pdf),
Solutions (pdf)
Worksheet 7, week of Feb 24th, due Mar 12th (postscript
| pdf),
Solutions (pdf)
March 3th - 7th Spring Break!
Worksheet 8, week of March 10th, due Mar 19th (postscript
| pdf),
Solutions (pdf)
Worksheet 9, week of Mar 17th, due March 26th (postscript
| pdf),
Solutions (pdf)
Worksheet 10, week of Mar 24th, due April 2nd (postscript
| pdf),
Solutions (pdf)
Worksheet 11, week of March 31st, due April 9th (postscript
| pdf),
Solutions (pdf)
Worksheet 12, week of April 7th, due April 16th (postscript
| pdf),
Solutions (pdf)
Mock Exam, week of April 14th, Mock Exam,
solutions (pdf)
Exam week of April 21st
Course Outline
Physicists use mathematics as a tool to model the universe. Think
of computers as our power-tools. This course, and the two subsequent
one credit classes in physics computations (PHY102, PHY201,
PHY301
), are designed to teach you how to use these tools effectively
and safely.
These power-tools allow us to study problems which are not tractable using
analytic mathematics (the usual kind). As with all power-tools, they
can also be used as labor saving devices to help solve problems that do
have analytic solutions (i.e., homework problems!). This course (PHY102)
concentrates on the use of Mathematica. Mathematica solves mathematical
problems and it includes a versatile graphical interface which allows you
to visualize the solutions as well. Mathematica can find solutions
to algebraic equations, it can do calculus and it can evaluate equations
numerically. It is a very powerful and useful general purpose program.
During PHY102 you will apply Mathematica to physics problems drawn from
material covered in PHY183 and/or PHY193H. In addition to the algebraically
solvable problems typically assigned in courses, you will also solve more
complex problems numerically. Examples include the non-linear pendulum,
motion in a gravitational field and chaos in simple maps. A weekly worksheet
forms the core of the course. You should set aside at least 2 hours
per week to work through the worksheet. You are required to attend
one lab session per week in Room 1240, Bio-medical Physical Sciences Building,
that will be staffed by a TA. Normally the completed worksheets will
be handed in at the end of this session. Worksheets not completed in
class will be accepted up until 5pm on the Monday following the week when
the worksheet was assigned. Printed copies of the worksheet should
be left in Prof. Billinge's mailbox or delivered to his office (put it
under the door if I am not there). Under special circumstances an
extension can be granted if arrangements are made with Prof. Billinge BEFORE
the deadline passes. Situations like these will be handled on a case
by case basis but worksheets won't be accepted after the deadline if
you have not obtained prior permission. Remember, your course
grade-point drops by 0.5 for each worksheet not completed and handed in
on time (see below)! Beyond the worksheets, there will be no homework
assignments for the course.
Lab sessions will be arranged to fit your schedules in the first week of
classes. Please contact Prof. Billinge if you have any questions.
Lab. Schedule - Room 1240 BPS
Tuesdays 7:30-10:30 am:
Elizabeth Blanchfield
Mary Bramble
Jonathon Cook
Paige Hatcher
Curtis Hunt
Ravi Jagasia
Lee Mayers
Ryan Smith
Ron Ziehmer
Friday 5-8 pm:
John Bedtelyon
John Boguslawski
Stephanie Brandl
Jonathan Delauter
David Hartley
Kenneth Hayes
Nichole Ulibarri
Allen Weaver
You should set aside at least 2 hours per week to work through the weekly
worksheet, though more may be required.
Course Assessment
75% of the course grade will come from your attendance at
the labs and solution to the weekly worksheets. For each worksheet which
is not completed and handed in on time your grade is reduced by 0.5. If
you complete all the worksheets and attend all the labs you get a 3.0 grade.
Missed labs without a valid reason will result in a warning followed by a
reduction in grade of 0.5 for each subsequent missed lab.
25% of the course grade will come from a one hour practical
exam at the end of the semester. This exam will be held in the last week
of semester during your regular lab time. In the exam you will be asked
to perform mathematica functions you have used in the worksheets during
the semester. Nothing new will be introduced. You will need to know how
to use the online help facility.
Lab. Exam
The lab. exam is intended to test how well you know mathematica.
If you know the basic commands well and work efficiently, you will finish
in the allocated 1 hr. That is, it is a timed test. You will be given a test
exam as worksheet 12 which will be similar to the final exam. The test exam
grading procedure is as follows (these are added to your worksheets' grade):
Less than two questions complete -> 0.0
Between two and four questions complete -> 0.5
Four or more questions complete -> 1.0
The lab. exam will be scheduled during your usual assigned lab slot.
Textbooks
There is no required text but you will only benefit from
this course if you can get access to a computer with Mathematica
installed where you can practice.
Recommended text: The Mathematica Book, third edition, by
Stephen Wolfram (Cambridge). This is a very comprehensive book written
by the author/inventor of Mathematica. It is primarily a reference
book. It is available online in its
entirety and is included in electronic form as part of the extensive online
help in the Mathematica program itself so there is not really any need
to buy it.
Recommended text: There are various Mathematica books written
by scientists and engineers which are not so pedagogical and more focussed
on how Mathematica can be used to solve science problems. One example
is Mathematica for Scientists and Engineers by Richard Gass (Prentice Hall).
Another is Mathematica for Physics by Robert L. Zimmerman and Fredrick
I. Olness (Addison-Wesley). There are numerous other ones. Mostly
they come with floppy discs or CD's containing examples so you don't have
to type them in by hand.
Helpfiles for PHY102
Mathematica has an awesomely powerful (and therefore non-trivial
to use) online help built in. Part of the course will be to learn how
to use this help effectively and you are encouraged and expected to use
the help whenever and wherever possible so you get comfortable and quick
at using it. This may prove to be important in the timed exam and
will pay big dividends as you use Mathematica later.
Getting started with Linux: Linux is the operating
system on these computers. For those of you who haven't heard of
it it is a free operating system for PCs that was developed first by Linus
Torvalds, a Finnish student (not much else to do in the winter up there
than write new operating systems), then by an international community of
free software freaks. It can be downloaded for free from the internet
and there is a lot of free software being developed by people all over the
world. Check out www.linux.org
and www.gnu.org to get a taste of what it
is all about. It is basically a form of UNIX for PCs. If you are
not familiar with unix then the "Introduction
to Linux Computing in rm346 Giltner Hall" might help. Modern versions
of linux look a lot like Microsoft windows which means that it is easier
to get started with unix/linux these days.
Starting mathematica: (a) in a terminal window (click on the
"screen" icon at the bottom of the screen to get a terminal window) type
"mathematica" and hit return (b) using the mouse, click on the "foot" at
the bottom of the screen then holding the mouse button down slide the mouse
to select "programs" -> "applications" -> "wolfram mathematica"
Getting
Started: This is a Mathematica "notebook" with information about basic
Mathematica usage and some pitfalls to avoid. Download the file and save
it locally. Start Mathematica then load this notebook by mouse-clicking on
file->open. This notebook contains useful hints and examples of
common mistakes of first-time Mathematica users. The most common
mistakes are tiny tiny syntax errors that cause the program to go crazy.
Some syntax errors result in errors so you know there is a problem.
Others do not result in errors but the program calculates some meaningless
or incorrect expression and proudly presents you with lots of garbage on
the screen. Another thing that can trip you up is that Mathematica has
a very long memory. If you define a variable (e.g., y=Sin[x]) Mathematica
will remember forever, or until you explicitly redefine or clear the definition,
that y is sin(x). If, half an hour later, you use "x" in some other
context it can lead to some very interesting, unexpected and perplexing results.
The "getting started" notebook tells how to deal with this. You will
save yourself a lot of time in the long run by going through it.
Also try Introduction to Mathematica
(Written by Ellen Lau)
1240 BPS:
Use the computers for your PHY102 classwork but remember that other classes
use the lab and outside of our regular lab-times you are a guest.
If another instructor needs the computer or is lecturing you may be asked
to leave. Needless to say these computers are subject to the Physics Department
and the University acceptable use policies:
http://www.ps.msu.edu/reference/msupa_acc_use_policy.html
Please do not use the computers and the printer in 1240BPS for
things not related to your PHY102 classwork.
Office Hours
Please call (355-9200x2202) or email (billinge@pa.msu.edu) me for an appointment
or just drop by my office. You can also catch me during my appearances
during class-time.