Next: Intrinsic Functions
Up: Programming with Fortran

Functions

Before doing this lesson, you should have read sections 4.1--4.2 of the text.

At this point you should be able to write programs that do simple numerical calculations. You may be wondering how to do such things as computing square roots and various trigonometric functions. As it turns out, these functions are built into Fortran. In this lesson, you will learn how to use these functions (which are called intrinsic functions) and how to write your own.

Before we begin, we'll need to copy some files that contain demonstration programs that you'll use in this lesson.

Click here to copy files




Next: Intrinsic Functions
Up: Programming with Fortran

Hamlet Project
hamlet@cs.utah.edu