Fortran 90 Lectures


The following page is designed to provide quick access to the various sections of the lecture notes for the class.


Lecture:

Topics covered:

1Introduction to the Class
Syllabus
Why learn Programming
Why learn Fortran
Netscape
Setting your Password
2Introduction to Computers and Computing
History
How a computer works and key elements
More on computer structure and operation
People in the history of computing
The hexadecimal number system
Floating Point Numbers
3Computer Operating Systems, Unix
Functions of an operating system
Unix
The "man" command
Unix file system
Useful Unix File System Commands: ls, mkdir, cd, pwd
Shells
Ending your interactive computer session
4More on Unix
More commands: cp, mv, rm, rmdir
Creating your own text files with the vi editor
Some special files in Unix
File Redirection
Stopping Programs
Ending your session
5Fundamentals of Fortran, Programming Principles
Creating and Modifying Programs
Compiling your program
A word on standard versions of Fortran
Rules on the format of Fortran statements
Fortran 90 Free Format
A first program
A Simple form of the program
A Modular form of the program
6Next Step, Arithmetic Assignment Statements
Simple Arithmetic Operators
Precedence of Operations
A fine point on the use of parentheses
Integer and Mixed Integer/Real Arithmetic
Floating Point Constants
Two other ways to assign values to Variables
7Introduction to Fortran's Intrinsic Functions
Some basic INTRINSIC FUNCTIONS (LIST)
Some comments on speed
A sample program using intrinsic functions
8Writing your own Functions and Subroutines
What happens when you use a function
Subroutines
9The program turns ugly, using DBX
Getting some practice
10Logical Structures
Logical relational operators
Boolian Operators
Precedence
11Using Logic, If statements
12More ways to use branching
SELECT CASE statements
Computed GO TO statments
DO WHILE statements
13Use of IF statements for Interpolation
Interpolation and Weighted Transitions
14Linearization and Newton Iteration
Solution of an equation by Newton Iteration (Postscript)
15DO Loops
16Review for exam 1
17Spreadsheets
18Introduction to Arrays
Declaration of arrays
FORMAT statement
19More on Arrays, and use of Mathematica
Array Initialization
Mathematica
Mathematica quick reference
Some basic Mathematica
20Allocating space for a problem
Using Array space in subprograms
Dynamic Allocation of Array Space
21Data Types and Data Representation
Derived Type
22Input/Output
READ and WRITE
END=[label], READ option
Unformatted I/O
OPEN and CLOSE options
INQUIRE
REWIND
BACKSPACE
ENDFILE
23Using the FORMAT statement
24Laboratory Practice with I/O
25Character Variables
Fortran 77
CHARACTER intrinsic functions
Using CHARACTER Variables in I/O
Relational Operators and CHARACTER variables
26Fortran 90 CHARACTER intrinsic functions
27Applications of CHARACTERs
ASCII character set
28Sorting
Selection Sort
Bubble Sort
Insertion Sort
Using Isolated Subroutines in Unix
29Interpolation
Digression to EXTERNAL and INTRINSIC type statements
Interpolation
31Review for Second Exam
32Introduction to Multidimensional Arrays
Bivariate Interpolation (Postscript)
33Fortran and Linear Algebra
Notation for Linear Algebra: Matrices (Postscript)
34Least Squares Fits
35Least Squares Fit of a Straight t Line to Data (Postscript)
Least Squares Fit of a Quadratic Curve to Data (Postscript)
Least Squares Fit of a General Polynomial to Data (Postscript)
36Array Intrinsic Functions and INTERFACE Structures
Writing your own array valued functions
37Optimizing Code
STATEMENT FUNCTIONS and INTERNAL FUNCTIONS
38Numerical Integration
Trapezoidal and Simpson's Rules (Postscript)
39Basic Numerical Differentiation
Numerical Evaluation of Derivatives (Postscript)
COMMON
Important features of COMMON
INCLUDE
MODULEs
40-41Computer Solutions to ODEs
Computer Solutions to ODEs (Postscript)
42The Secant Method, Fortran90 POINTERs
The Secant Method for Solving Non-linear Equations
The Secant Method (Postscript)
Fortran 90 Pointers
Array Pointers
43Gauss Elimination and LU Decomposition
Gauss Elimination and LU Decomposition (Postscript)
44Review for the Final Exam

Back to the 201 Homepage