Day 1

INTRODUCTION TO COMPUTATIONAL PHYSICS


Overview of course
Instructors, text, syllabus, weekly projects, final project
Computing tools
Fortran, C++, gnuplot, latex, html, etc...
Exercise #1
Use gnuplot to graph data in a file, try log, changing limits, titles, etc. Print out an example to put in your log book.

Simple programming concepts
basic program skeleton, input, output, do loop, intrinsic functions
Exercise #2
Write a program to output sin(x) and plot the data with gnuplot.