Using a calculator to calculate the modulus (no mod func)

For the discussion of math. Duh.

Moderators: gmalivuk, Prelates, Moderators General

Using a calculator to calculate the modulus (no mod func)

Postby nemo » Sat Nov 17, 2007 3:31 pm UTC

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.
nemo
 
Posts: 8
Joined: Fri Nov 16, 2007 12:26 am UTC

Re: Using a calculator to calculate the modulus (no mod func)

Postby genevabeagle » Sat Nov 17, 2007 4:18 pm UTC

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
genevabeagle
 
Posts: 42
Joined: Tue Dec 12, 2006 11:32 pm UTC

Re: Using a calculator to calculate the modulus (no mod func)

Postby SimonM » Sat Nov 17, 2007 4:52 pm UTC

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
324-315=9
mosc wrote:How did you LEARN, exactly, to suck?
User avatar
SimonM
 
Posts: 280
Joined: Sat Jul 21, 2007 4:49 pm UTC
Location: Guernsey, CI

Re: Using a calculator to calculate the modulus (no mod func)

Postby nemo » Sat Nov 17, 2007 5:20 pm UTC

great, thx guys.
nemo
 
Posts: 8
Joined: Fri Nov 16, 2007 12:26 am UTC


Return to Mathematics

Who is online

Users browsing this forum: No registered users and 10 guests