warming up your workspace

Fortran Foundations through Aerospace

Start with typed functions, variables, choices, loops and arrays. Small aerospace calculations introduce how arguments enter a procedure and how a returned value is checked. Finish by composing the taught helpers into one result.

First functions

  1. Return a configured value
  2. Read an input and double it
  3. Average two matching measurements
  4. Return a status label
  5. Name an intermediate span

Variables and types

  1. Keep a local calculation separate
  2. Trace an updated variable
  3. Convert before fractional division
  4. Truncate toward zero deliberately
  5. Average three real readings

Making choices

  1. Compare a reading with a limit
  2. Assign a label on every branch
  3. Select the larger value
  4. Build an ordered category chain
  5. Require two conditions together

Doing it again

  1. Accumulate a sequence
  2. Count matching integers
  3. Add a repeated increment
  4. Return the first match in a bounded search
  5. Count cells with nested loops

Arrays and reuse

  1. Read a particular array element
  2. Find a maximum without inventing one
  3. Compose a total with a mean
  4. Normalize a weighted measurement
  5. Connect data, a peak and a category

Explore the full field