Fortran 90 Lectures

Notice on Copying and Using this material


The following page is designed to provide quick access to the various sections of the lecture notes for the class. Timing of topics is only approximate, and assigments listed for lectures more than one week beyond the current date may be leftover from last year.

For specific descriptions of FORTRAN Statements or Functions see the


DateLec.Reci-
tation
Topics covered:
1/131 Introduction to the Class, Computers, and Computing
Syllabus
Why learn Programming
Why learn Fortran
Netscape
Setting your Password
History of Computing
People in the history of computing
How a computer works
More on computer structure and operation
The hexadecimal number system
Floating Point Numbers
1/152 Fundamentals 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
1/152 Computer 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
1/203 A First Program
A Simple form of the program
A Modular form of the program
1/224 Next 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
1/224 More 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
1/275 Introduction to Fortran's Intrinsic Functions
Some basic INTRINSIC FUNCTIONS (LIST)
Some comments on speed
A sample program using intrinsic functions
1/296 Writing your own Functions and Subroutines
What happens when you use a function
Subroutines
1/296 The program turns ugly, using DBX
Getting some practice
2/37 Logical Structures
Logical relational operators
Boolean Operators
Precedence
2/58Using Logic, If statements
2/58 Use of IF statements for Interpolation
Interpolation and Weighted Transitions
2/109 More ways to use branching
SELECT CASE statements
Computed GO TO statments
DO WHILE statements
2/1210 Linearization and Newton Iteration
Solution of an equation by Newton Iteration (Postscript)
2/1210 Examples of Newton Iteration
2/1711 DO Loops
2/1912 Introduction to Arrays
Declaration of arrays
FORMAT statement
2/1912 Review for Exam 1
2/2413 More on Arrays
Array Initialization
Mathematica
Mathematica quick reference
Some basic Mathematica
2/2614 Allocating space for a problem
Using Array space in subprograms
Dynamic Allocation of Array Space
2/2614 Data Types and Data Representation
Derived Type
3/315 Input/Output
READ and WRITE
END=[label], READ option
Unformatted I/O
OPEN and CLOSE options
INQUIRE
REWIND
BACKSPACE
ENDFILE
3/516 Character Variables
Fortran 77
CHARACTER intrinsic functions
Using CHARACTER Variables in I/O
Relational Operators and CHARACTER variables
3/516 Using the FORMAT statement
3/1717 Fortran 90 CHARACTER intrinsic functions
3/1918 Test Problems
3/1918 Applications of CHARACTERs
ASCII character set
3/2419 Interpolation
EXTERNAL and INTRINSIC type statements
Linear and Quadratic Interpolation
3/2620 Introduction to Multidimensional Arrays
Bivariate Interpolation (Postscript)
3/2620 Sorting
Selection Sort
Bubble Sort
Insertion Sort
Using Isolated Subroutines in Unix
3/3121 Fortran and Linear Algebra
Notation for Linear Algebra: Matrices
4/222 Array Intrinsic Functions and INTERFACE Structures
Writing your own array valued functions
4/222 Review for Second Exam
4/723 Optimizing Code
STATEMENT FUNCTIONS and INTERNAL FUNCTIONS
4/924 Least Squares Fits
4/924 Application of Least Squares
Least Squares Fit of a Straight t Line to Data
Least Squares Fit of a Quadratic Curve to Data
Least Squares Fit of a General Polynomial to Data
4/1425 Numerical Integration
Trapezoidal and Simpson's Rules (Postscript)
4/1626 Basic Numerical Differentiation
Numerical Evaluation of Derivatives
COMMON
Important features of COMMON
INCLUDE
More on MODULEs
4/1626 The Secant Method for Solving Non-linear Equations
Secant Method (Postscript)
4/2127 Computer Solutions to ODEs
Computer Solutions to ODEs (Postscript)
4/2328 Fortran 90 Pointer Data Type
4/2328 Practice Solving ODEs
4/2829 Gauss Elimination and LU Decomposition
Gauss Elimination and LU Decomposition (Postscript)
4/303030 Review for the Final Exam

Back to the 201 Homepage