Here are the steps to find:
3 Mod 9 is 3
What Is Modulo?
Modulo is also known as Modulus or mod is the remainder after you divide a number with another number. If there is no reminder then the mod is zero.
The operator for Modulo is mod or % as used in programming. Here are two ways to calculate modulus.
How to calculate Modulo
Method 1: By ignoring decimals
To calculate X mod Y
Step 1: Divide X and Y
Step 2: Ignore decimals if any and multiply the answer by divisor Y (Round down)
Step 3: Subtract the answer from the second step from the divinded X
Example
How to calculate 1 mod 3
Step 1: | 3 | Divide | 9 | equals | 0.333333333 | |
Step 2: | Ignore decimals | 0 | ||||
0 | Multiply | 9 | Equals | 0 | ||
Step 3: | 3 | Minus | 0 | Equals | 3 | |
Therefore: | 3 | MOD | 9 | is | 3 |
Method 2: Ignoring Whole numbers
To calculate X mod Y
Step 1: Divide X by Y
Step 2: Ignore the whole numbers and work with the decimals
Step 3: Multiply the decimal numbers by divisor Y
Example
How to calculate 3 mod 9
Step 1: | 3 | Divide | 9 | Equals | 0.333333333 | |
Step 2: | Ignore Whole numbers | 0.333333333 | ||||
Step 3: | 0.333333333 | Multiply | 9 | Equals | 0 | |
Therefore: | 3 | MOD | 9 | is | 3 |
Practical Uses of Modulo
1. To determine whether a number is odd or Even
2. To convert seconds into hours, minutes and seconds
3. In programming to create a loop (do something every nth time)
Solve another Modulus: