Save this video free

2NM4 Week 1: Numerical error and finite precision

Numerical Methods for Engineering · 2:21:40 · Watch on YouTube

Part of McMaster University ENGPHYS 2NM4. See all 6 lectures and search them

These notes were made with YouTube Collector. Paste any YouTube link and get the same: a summary, chapters and a searchable transcript.

Overview

The course introduction frames numerical methods as tools engineers must understand well enough to choose, diagnose, and defend, even when using industrial software, Python, or AI-generated code. The lecture then develops finite-precision arithmetic, roundoff and truncation error, tolerances, and Taylor-based finite differences, showing why smaller steps and apparently converged results can become unreliable.

Key takeaways

Chapters

0:00 Industrial Simulation Software and the AI Coding Demonstration
4:51 AI Assistance, Agentic Systems, and Human Oversight
8:02 Disruptive Tools and Engineering Approximation
11:12 Course Goals: Choosing and Interpreting Numerical Methods
20:23 Course Tools, Python Labs, and Learning Resources
21:39 Weekly Comprehension Quizzes and Spaced Retrieval
27:33 Universal Design and Assignment Flexibility
32:29 Written Assignments and Oral Technical Defenses
33:53 Midterm, Final, and Optional Research Project
37:10 Interactive Textbook and the Illusion of Competence
40:32 Student Widgets, GitHub Contributions, and Learning Evidence
43:42 AI Study Materials and Responsible Use
47:59 Finite Precision Begins with Number Representation
54:20 Roundoff Error and Number Bases
58:00 Why Decimal 0.1 Is Inexact in Binary
1:01:08 Exact Integers and Their Finite Storage Limits
1:02:54 Signed Integer Ranges and Overflow
1:09:04 Integer Division, Data Types, and Python Floats
1:14:28 Scientific Notation and Floating-Point Components
1:19:57 Normalized Binary Floats and IEEE Precision Sizes
1:22:07 Unrepresentable Values and Floating-Point Printouts
1:26:18 Operation Order and Loss of Associativity
1:32:54 Subtractive Cancellation and Machine Epsilon
1:37:15 Stable Quadratic Roots and Absolute Error
1:44:59 Relative Error, Approximate Error, and Tolerances
1:57:49 Taylor Series, Truncation Error, and Big O
2:07:13 Forward and Central Finite Differences
2:15:55 Step-Size Limits and Reliable Taylor Evaluation

Keep these chapters and the full searchable transcript in your own library.

Transcript excerpt

0:01 Don't need a lobby. Okay. Computational multifysics. We use a software package called com multifysics. Um, convenient name. It generalizes and kind of like hides all the nasty numerical methods from you guys to the point where you can honestly go through and obviously you know 80 of you guys did go through it without understanding actually what's happening under the hood. And that's by design. This is an industrial package, right? and it kind of hides all the nitty-gritty that you don't honestly need to know unless you really need to know it, right? Like at some point it doesn't work and you're scratching your head and your options are either like Google it, ask the the prof like why this isn't working or you got to go back and you actually have to learn like what

0:48 scaling is for example and we didn't even talk about that. So that's the game plan with this guy. Uh so this one is numerical methods for engineering and I'd like to begin with a pop quiz. Okay. So everybody please get out paper and pencil and solve a nonlinear heat transport partial differential equation using an implicit time stepper Newton method. Plot the solution at each time document throughout. Right? You do this. You're done the course. Everybody passes. I'll see you in December. No. Right. Uh, why do people keep popping into the lobby? That's weird. Okay. Obviously, obviously like I'm going out on a on a stick here, right? Um, my background I I've been teaching now,

1:36 this will be my third year teaching at McMaster. I was at Canadian Nuclear Labs working before that. Long story short, CNL is great. There's a lot of cool stuff there, but they were like AI phobic because they have stuff like

This is the start of the transcript. Save this video free for the whole transcript, searchable and time-coded.

In this course

Related notes

Summary, takeaways, and chapters were generated by AI from the video's transcript and may contain errors. The video belongs to its creator, Numerical Methods for Engineering.

Want the full transcript?

Save this video in YouTube Collector to get its complete searchable transcript, your own AI summaries, and a library that keeps every video you collect in one place.