English Deutsch Français Italiano Español Português 繁體中文 Bahasa Indonesia Tiếng Việt ภาษาไทย
All categories

2006-12-06 10:46:27 · 2 answers · asked by maaaaa5j 1 in Science & Mathematics Mathematics

2 answers

Modular arithmetic (sometimes called modulo arithmetic, or clock arithmetic because of its use in the 24-hour clock system) is a system of arithmetic for integers, where numbers "wrap around" after they reach a certain value — the modulus. Modular arithmetic was introduced by Carl Friedrich Gauss in his book Disquisitiones Arithmeticae, published in 1801.

A familiar use of modular arithmetic is its use in the 24-hour clock: the arithmetic of time-keeping in which the day runs from midnight to midnight and is divided into 24 hours, numbered from 0 to 23. If the time is noted at 7 o'clock in the evening — 19:00 in the 24-hour system — and then again 8 hours later, then rather than the time being 27:00 (as in usual addition: 19 + 8 = 27), the time will actually be denoted as 03:00, albeit the next day. Likewise, if the clock starts at noon (12:00) and 21 hours elapse, then the time will be 09:00 the next day, rather than 33:00 (as in usual addition). Since the hour number starts over at 00 hours after passing 23 hours, this is arithmetic modulo 24 — the hours "wrap around" upon reaching the modulus 24.

2006-12-06 10:59:20 · answer #1 · answered by commonsince76 3 · 0 0

Modulo arithmetic: my favorite kind!

2006-12-06 11:23:56 · answer #2 · answered by modulo_function 7 · 0 0

fedest.com, questions and answers