Course 5 | Foundation

Programming and Computation

Use Python as an engineering tool: variables and functions, arrays, plots, and validated, reproducible scripts, the computational base for everything that follows.

Foundation

Course snapshot

Purpose
Uses code to automate calculations, inspect data, and support simulation, measurement, and repeatable engineering work.
Prerequisites
Next in the guided sequence

Statics

Used in Career Directions

How to study this course

  1. Define the problem
  2. Choose variables
  3. Write a small function or script
  4. Test with simple values
  5. Plot or inspect results
  6. Validate against a hand calculation or known case
01

How this course is designed

Code as an engineering tool

The early modules treat Python as a calculator that automates the arithmetic you already do by hand. Programming earns its place through the engineering it makes faster, not through computer-science abstraction for its own sake.

Verified numbers throughout

Every module includes two fully worked examples whose output is checked in Python. You always see the exact result the code prints, so you can run it and confirm the same answer.

Built toward numerical methods

The arc runs from a single calculation to arrays, plots, and validated scripts, the exact toolkit the later Numerical Methods, CFD, and FEM courses assume you already have in hand.

02

The 10 modules