You are not logged in.
Pages: 1
Hi,
I have a question - I have just looked up the internet for modulo operation.
So is
1)2000 mod 400 = 0
2)2004 mod 400 = 4?
Offline
Hi;
Modulo is simply the integer remainder when the division is done. Written like this:
Means a remainder of 4 is left when 2004 is divided by 400.
In mathematics, you don't understand things. You just get used to them.
If it ain't broke, fix it until it is.
Always satisfy the Prime Directive of getting the right answer above all else.
Offline
So in the other thread(http://www.mathisfunforum.com/viewtopic.php?id=15927), y = year (mod 400) means y is the remainder when the year is divided by 400, right?
Last edited by 123ronnie321 (2011-07-07 02:02:09)
Offline
Hi;
Yes, that is correct.
Mods are always less than the mod itself.
In mathematics, you don't understand things. You just get used to them.
If it ain't broke, fix it until it is.
Always satisfy the Prime Directive of getting the right answer above all else.
Offline
Thank you, bobbym.
I learnt a new thing today!
Offline
You already knew it! Modulo was invented by Gauss. When you learnt how to tell time you were being exposed to modular arithmetic.
In mathematics, you don't understand things. You just get used to them.
If it ain't broke, fix it until it is.
Always satisfy the Prime Directive of getting the right answer above all else.
Offline
Pages: 1