Skip to content
You Start with one site
Amounts in Start with one site
Engineering · Mathematics, AI & Reasoning

Applied Mathematics

The mathematics that answers an engineer's questions: when will the tank overflow, how long will the battery last, why does the room never rest at its setpoint. Nine lessons, each starting from a real problem and checked in Python.

Found this useful?
Heater power against room temperature from 15 to 25 °C. The heat loss line rises 2 percent for each degree above 15 °C. Three proportional controller lines, Kp 5, 15 and 50, fall to zero heater power at the 25 °C setpoint. Each meets the heat loss line below the setpoint, closer with a larger gain: with Kp 15 at 23.8 °C and 17.6 percent. No gain reaches 25 °C.

A level sensor says how full a tank is now, not when it will overflow. A voltmeter reads 0.7 V across a resistor and 0.7 V across a capacitor on a 1 V supply, and nothing is broken. A probe moved into hot water reads many degrees low after two seconds. A simulation runs without an error and prints a level that rises without limit. A sensor node stops after a third of the time a month of simulation predicted.

In this course each tool of mathematics starts from a question like these: a rate and a total, a size with a timing, a wait for a time constant, a step size, a pencil estimate. You work the example by hand, then check it in Python, and you learn the condition under which each answer stops being true.

How each lesson goes
  1. 1Start from a questionHow long will a sensor node run? 25 mA for 2 s in every 60 is 0.843 mA on average: about 148 days on 3000 mAh.
  2. 2Meaning before formulaAn RC filter on the complex plane: at the cutoff, 1592 Hz, the point is 1 right and 1 up, so the gain is 0.707.
  3. 3Work it by handA capacitor charging through 10 kΩ: 3.16 V after one time constant of 1 s, 4.97 V after five.
  4. 4Check it in PythonWith a step of 0.1 s, RK4 follows the true motion; the swings of Euler's method grow to about 37 times their start in 15 s, with no error message.
You will be able to
  1. Make a quick estimate, and build the simplest model that answers the question
  2. Use rates, totals, matrices, phasors and spectra on circuits, machines and sensor data
  3. Solve a model in Python, tune a feedback loop, and say where each answer stops being true

New to this? Unsure where to begin? Start with lesson 1: estimate a battery life with a pencil, then check it.

You need A computer with Python, NumPy, SciPy and Matplotlib. No hardware and no paid software.

Lessons
Lesson 1 · 11 minSpherical Cows and Model BuildingEstimate a battery life with a pencil, and see when the simple model stops being true.Fermi estimatesModelling cycleDuty cycleWhen to add detail Lesson 2 · 9 minCalculus for EngineersRates and totals: when a tank overflows, and the energy under a day of solar power.DerivativesIntegralsTaylor seriesNumerical rates Lesson 3 · 10 minLinear Algebra: Vectors and MatricesTwo loop currents or the forces in a truss, written as one matrix and solved in one step.VectorsAx = bEigenvaluesNumPy Lesson 4 · 9 minComplex Numbers and PhasorsWhy 0.707 V and 0.707 V make 1 V: phasors, impedance and an RC filter.Complex planeEuler's formulaPhasorsImpedance Lesson 5 · 8 minProbability, Statistics, and NoiseMeasure noise, filter it, reject a false reading, and say how far a number can be trusted.Mean and varianceMoving averageConfidence intervalOutliers Lesson 6 · 8 minDifferential Equations and Real SystemsHow long to wait for a probe: time constants of circuits, cups and springs, by hand and by Euler's method.First orderSecond orderTime constantEuler's method Lesson 7 · 9 minFourier Analysis and Frequency DomainFind the small sine wave of a failing bearing, and sample so that the peaks are real.FFTNyquistAliasingWindowing Lesson 8 · 9 minNumerical Methods: Math in CodeRoots, areas under measured data, curve fits and RK4, and when each gives a wrong answer.Bisection and NewtonIntegrationCurve fittingRK4 Lesson 9 · 10 minFeedback and Control SystemsHold a room at its setpoint with PID, one term at a time, and see where a loop becomes unstable.Closed loopP, I and DZiegler-NicholsStability
More about this course

Every number has a reason

An answer is not a number with many decimals. Each one comes from a model, and each model has a limit.

  • 148 daysfrom a 3000 mAh cell at 0.843 mA on average; a careful estimate takes 20 to 30 percent off, about 100 to 120 daysEstimates
  • 1 sthe time constant of 10 kΩ and 100 µF: after 1 s the capacitor is at 63 percent, 3.16 V of 5 V; after five, at 99 percentDifferential equations
  • 0.707 Vacross the resistor and across the capacitor at the cutoff: the two voltages are at right angles, so they add to 1 V as arrows, not as numbersPhasors
  • 500 Hzthe highest frequency an ADC at 1 kHz can see; its filter must cut well below that, or a fast signal shows as a slow oneSampling
  • 23.8 °Cwhere a room under proportional control settles, below the 25 °C setpoint: the heater at 15 percent a degree of error meets the loss of 2 percent a degreeFeedback

Keep it simple until the correction is as large as the main effect

Keep it simple
The pencil model
  • An answer to a factor of ten, early in a design
  • One effect much larger than the rest
  • At a 60 s cycle the sleep current is 1 percent of the charge

The test: is what you left out small?

Add detail
The fuller model
  • The model disagrees with measurements
  • A safety decision, or the last 5 percent near a limit
  • Wake once an hour and the sleep current takes 42 percent

The test: is the correction as large as the main effect?

How the course works

Problem firstA tank, a filter, a probe or a heater, then the mathematics that answers it.
Meaning before formulaWhat an equation says, before the equation.
Worked by handEach example done step by step, with the numbers.
Checked in PythonNumPy, SciPy and Matplotlib. No special hardware.
Pictures you moveChange a gain, a step size or a window and watch the answer change.
Limits statedWhere each method gives a wrong answer, and how to see it.

Honest limits. This is not a course of proofs: each lesson names the textbooks for the theory. It is a reference you can take in order or open at the topic you need now.

Before you start

The full course notes

Mathematics is the language engineers use to describe, predict, and control the physical world. This course teaches the parts of that language you will use most often. Not proofs, not abstraction for its own sake, but the mathematical tools that show up every day in circuit analysis, control systems, signal processing, and mechanical design.

Every lesson starts with a real problem, introduces the math as the tool to solve it, and works through the solution. Python code makes things concrete. If a formula appears, it is preceded by the intuition for why it works.

This is not a prerequisite you need to complete before doing anything else. It is a reference. Work through the lessons in order if you want a structured path, or jump to whichever topic you need right now and come back later for the rest.

What You Need

All you need is a computer with Python installed. We use NumPy and Matplotlib for computation and plotting. No special hardware, no expensive software.

Terminal window
pip install numpy matplotlib scipy

Lessons

Lesson 1: Spherical Cows and Model Building

Why all models are wrong, some are useful, and how to build the right one for your problem. Fermi estimation, the modeling cycle, and Newton’s law of cooling as a worked example.

Start Lesson 1

Lesson 2: Calculus for Engineers

The parts of calculus engineers actually use. Derivatives as rates of change, integrals as accumulation, Taylor series for approximation, and the chain rule in real systems.

Start Lesson 2

Lesson 3: Linear Algebra: Vectors, Matrices, and Transforms

How vectors and matrices describe forces, rotations, and systems of equations. Dot products, cross products, matrix transforms, eigenvalues, and solving Ax = b with NumPy.

Start Lesson 3

Lesson 4: Complex Numbers and Phasors

“Imaginary” is a terrible name. These numbers describe rotation. Euler’s formula, phasors for AC circuits, impedance, and RC filter analysis.

Start Lesson 4

Lesson 5: Probability, Statistics, and Noise

Every sensor reading has noise. Mean, variance, Gaussian distribution, moving averages, exponential filtering, confidence intervals, and outlier detection.

Start Lesson 5

Lesson 6: Differential Equations and Real Systems

How to describe systems that change over time. RC circuits, spring-mass systems, thermal decay, and solving ODEs numerically with Euler’s method.

Start Lesson 6

Lesson 7: Fourier Analysis and the Frequency Domain

Any signal is a sum of sine waves. Time domain vs frequency domain, FFT, sampling theorem, aliasing, and spectral analysis with Python.

Start Lesson 7

Lesson 8: Numerical Methods: Math in Code

Computers do arithmetic, very fast. Root finding, numerical integration, interpolation, curve fitting, Runge-Kutta ODE solvers, and floating-point gotchas.

Start Lesson 8

Lesson 9: Feedback and Control Systems

Measure, compare, adjust. Open-loop vs closed-loop, PID control, Ziegler-Nichols tuning, stability, and practical applications from thermostats to motor controllers.

Start Lesson 9



How This Course Is Structured

  1. Real Problem First

    Every lesson opens with a physical scenario or engineering question. The math grows out of the need to answer that question.

  2. Intuition Before Formula

    Before any equation appears, you will understand what it means and why it works. No formula drops from the sky without explanation.

  3. Worked Examples

    Each concept is followed by a complete worked example, often drawn from circuit analysis, mechanical systems, or signal processing.

  4. Python Code

    Computation makes abstract ideas concrete. NumPy arrays, Matplotlib plots, and SciPy solvers applied to real problems.

  5. Reference Quality

    These lessons are written so you can come back to them years later and still find them useful.

Who This Course Is For

This course is for anyone who uses mathematics as a tool: electrical engineers, mechanical engineers, embedded systems developers, physics students, and self-taught builders. If you have ever been intimidated by a wall of equations in a textbook and wished someone would just explain what it means, this course is for you.

You do not need to be a “math person.” You need to be someone who wants to solve problems.

© 2021-2026 SiliconWit®. All rights reserved.

9 lessons, in order.

SiliconWit makes these courses. We also run siliconwit.io, a monitoring service.