Lecture 9: Modular Arithmetic

1:19:45 Free

Modular arithmetic helps answer questions like: What is even+odd? What day of the week will it be 100 days from now? What computation do you need to do?

(rem(100, 2) = 2, so Tues+2=Thurs)

Source: Brynmor Chapman, Mathematics for Computer Science (MIT: OpenCourseWare). Licensed under CC BY-NC-SA 4.0.

Hypha Learn

Hypha Learn

Free university lectures and educational content, curated and republished from public sources.

4

see also ↓