PHYS-4007/5007 Web Page of Tutorials

This web page contains the links of the various tutorials to help students learn how to use computers to carry out scientific research. Some of these tutorials work with various programs and script files that you will need to download to the computer you are using in Brown Hall 264. In addition, there are various help files you can use to help you in your programming experience.


Weekly Tutorial Sessions:

Each week throughout the semester there will be one class session that meets in Brown Hall 264 for the students to work on various tutorials that will give the student experience in both creating/modifying operating system script files and programming language files of the programming languages we will be using throughout the semester. For this Fall 2025 semester, these sessions will take place on Tuesdays from 11:45 a.m. until 1:05 p.m.

Note that during the first week of class, we will not be doing a tutorial, but instead, be filling out a survey form so that Dr. Luttermoser has that information to set up your user accounts on the Linux computers. Note that each of you will have accounts with a username associated with the student on all of the Linux machines in Brown Hall 264.


Weekly Tutorials for 2025
Week: Day Topic Tutorial
1: Aug 26 User Accounts Data Survey & Account Setup Sheet
2: Sep 2 Introduction to Linux/bash Shell/C Programming Tutorial 1: Linux, bash & C Programming
3: Sep 9 Introduction to Fortran Programming Tutorial 2: Fortran Programming
4: Sep 16 Learning the LaTeX Mark-Up Language     Tutorial 3: LaTeX




Tutorial Supplementary Files:

The following files are either sample programs, Unix/Linix scripts, help files, or programming language information files. The table below catalogs these files based on the Tutorials for which they are associated.


Programs and Supplemental Files for the Tutorials
Tutorial File Links File Information
1 dirsize.c
purge.c
.bashrc
.bash_aliases
C Code to Emulate VMS DIR/SIZE Command    
C Code to Emulate VMS PURGE Command
Sample .bashrc Configuration File
Sample .bash_aliases Configuration File
2 mycode1.f
mycode2.f
mystrings.f
FortranIntrinsicFuncs.pdf    
Fortran Code with Mistakes
Corrected Fortran Code
Fortran Code Dealing with Strings
FortranIntrinsicFuncs.pdf
3 Tutorial03_LaTeX.tex
template.tex
template.pdf
temptex.eps
temptex.bmp
LaTeX File Containing Tutorial 3
Sample Scientific Manuscript LaTeX File
Resulting PDF File of the Sample Scientific Manuscript
Encapsulated Postscript (.eps) Figure
Bitmap (.bmp) Figure




Additional Learning Tutorials and Programs:

The following files are additional learning tutorials you can carry out on your own time. In addition, some useful programs are listed that will help you learn computer programming.


Additional Useful Tutorials and Programs
File Links File Information
circle.f Fortran 77 code to calculate area of a circle.
mach_prec.pdf    
limits.f
Determining the Machine Precision for Real Numbers in Fortran    
Machine Precision Fortran 77 Code





Note that as the semester progresses, additional tutorials will be included on this web page.

Click here to go back to the Computational Physics home page.


Last modified: September 5, 2025 by D.G. Luttermoser