Languages in Scientic Computing
Jason Mercer
2007
This document compares and contrasts Fortran, C, MATLAB, Mathematica
and Java in the context of scientic computing and programming at large.
Fortran and C are among the oldest programming languages still w
Scripts
Jason Mercer
2007
A Script can be as simple as a le with a list of commands that you would
run at the prompt. By putting the commands in a script you can execute
them, one after another, by typing in the name of the script. This can save
time for
Makeles
Jason Mercer
2007
Makeles are a list of rules that aids in any multi-step process. Traditionally
they are used in software development projects but they could just as easily be
used for websites, documents or backups. The advantages of a Makele ov
PHYSICS 3800. Assignment 1.
Due Monday. Jan. 26, 2009.
Numerical Dierentiation and Integration.
1. (15 pts.) Consider f (x) = cos(x). Compare the exact value of the derivative f (x) with
the Forward Dierence, Central Dierence, and Five-Point Formulas at x
PHYSICS 3800. Assignment 4.
Due Tues. March 31, 2009.
PDEs.
1. (50 pts.) Poissons equation in 2D. Consider Poissons equation in two dimensions:
2 V (x, y ) 2 V (x, y )
+
= f (x, y )
x2
y 2
(a) Derive the discrete version of this equation using xm = x0 +
PHYSICS 3800. Assignment 2.
Due Thurs. Feb. 12, 2009.
Ordinary Dierential Equations.
1. (20 pts.) Write each of the following ODEs as an equivalent system of rst-order ODEs:
(a) Van der Pol equation.
u = u (1 u2 ) u
(b) Blasius equation:
u = uu
(c) Newton
Basic Information for Linux Users
1 of 9
file:/C:/Documents%20and%20Settings/plumer/My%20Documents/P3.
Basic Information for Linux Users
(Retain these notes for future reference.)
Introduction
An operating system is a computer program that provides an env
P3800 Project 4: Monte Carlo Simulations:
Integration and 2D Ising Model.
NOTE: This is your last project for P3800. It is hoped that your solution
and write-up will reect the learning you have achieved in this course. You are
encouraged to be creative in
New Paradigms in Magnetic Recording: Understanding
through Micromagnetic Modeling.
Martin Plumer. Department of Physics and Physical Oceanography, Memorial University.
(Design engineer, Seagate Technology 1997 - 2005)
1. Overview of magnetic recording:
He
Project 3: Eigenvalues of coupled springs in 2D
Physics 3800
1
Motivation
The coupled oscillator problem is conceptually simple but lies at the core of
many areas in physics. We will use an idealized nite sized system to generate
normal-mode energy eigenv
P3800 Project 2: Ordinary Dierential Equations
February 2009
1
Introduction
For this project you will be asked to numerically solve the equations of motion
for a charged particle in magnetic and electric elds. This physics problem is
described starting on
PHYSICS 3800. Assignment 3.
Due Tues. March 10, 2009.
Matrices.
1. (30 pts.) Klein and Godunov problem 9.1.
2. (20 pts.) Klein and Godunov problem 9.2.
3. (20 pts.) Pang (rst edition) problem 4.1 (see attached). Find the currents in the unbalanced
Wheatst
Computational Physics 3rd/4th Year Option
Angus MacKinnon September 26, 2002
Computational Physics Course Description
The use of computers in physics, as well as most other branches of science and engineering, has increased many times along with the rapid