Using a calculator to calculate the modulus (no mod func)
Moderators: gmalivuk, Moderators General, Prelates
Using a calculator to calculate the modulus (no mod func)
Ok so I'm not a genius at maths. Never have been, probably never will. I have a class test next week on number theory and I can't remember the method for calculating a modulus with a calculator. Can you guys and girls let me know how you would go about it. No the calculator doesn't have a mod or % function. Thx.

 Posts: 42
 Joined: Tue Dec 12, 2006 11:32 pm UTC
Re: Using a calculator to calculate the modulus (no mod func)
While (obviously) I'd recommend getting a hold of another calculator, in the meantime you can replicate the modulo function. For some x modulo y, divide x by y, subtract the remaining whole number, and multiply the remaining decimal (should be zero point something) by y.
For example, 324 modulo 15:
324/15 = 21.6
21.6  21 = 0.6
0.6*15 = 9
324 (modulo 15) == 9
For example, 324 modulo 15:
324/15 = 21.6
21.6  21 = 0.6
0.6*15 = 9
324 (modulo 15) == 9
Re: Using a calculator to calculate the modulus (no mod func)
genevabeagle wrote:While (obviously) I'd recommend getting a hold of another calculator, in the meantime you can replicate the modulo function. For some x modulo y, divide x by y, subtract the remaining whole number, and multiply the remaining decimal (should be zero point something) by y.
For example, 324 modulo 15:
324/15 = 21.6
21.6  21 = 0.6
0.6*15 = 9
324 (modulo 15) == 9
Or, if you calculator has a tendency to round
For example, 324 modulo 15:
324/15 = 21.6
15*21 = 315
324315=9
mosc wrote:How did you LEARN, exactly, to suck?
Re: Using a calculator to calculate the modulus (no mod func)
great, thx guys.
Who is online
Users browsing this forum: No registered users and 8 guests