1
$\begingroup$

I'm wondering does anyone know of a scientific calculator with a mod function?

In C# this is shown as follows (just in case there are any other mods that a mathematical non-savant such as myself wouldn't be aware of)

5 % 4 = 1

I've looked through the most common ones on the web but the function is either not in the list or not present.

I have a little bit of a bias towards Casio calculators as that's what I'm familiar with but will accept any suggestions that can be currently purchased.

Derek

  • 0
    My calculator has a % key ... but it doesn't do mod, it does percentage.2016-07-13

6 Answers 6

-3

The TI-36x pro has a mod button under the Math menu.

  • 0
    @hardmath: This answer is OK. The OP asks for a list of calculators that have a `mod` function, and this post brings something new by mentioning a model that hadn't been previously mentioned. I believe that with time this page will grow into a list of calculator models, but I see nothing wrong with this.2018-07-07
2

HP : buy a hewlett packard calculator. the model HP-35S contains hundreds of functions. there is a description here ; http://www.shopping.hp.com/product/calculator/Scientific/1/storefronts/F2215AA%2523ABA;HHOJSID=FW7TNQVJMqHh075qvYbPbRvjvx2K1ybHFyYXGDY9Vr8kpqFlknwg!492383249

The 32Sii used to have a button just for that, on the other hand the HP35s is programmable and you can most probably do it easily.

  • 0
    Cannot mark as use$f$ul as don't have enou$g$$h$ rep; will circle back and do so ASAP ;$-$)2011-03-28
2

Virtually every graphing calculator made in the recent past has a mod function. Many scientific calculators do as well, though the documentation is often lacking.

  • 0
    Just not true, most Casio's _don't_ have a modulo function whatsoever. Of course you can program the functionality in, though.2015-10-25
2

GeoGebra has a Mod[a,b] command eg

http://web.geogebra.org/?command=Mod[5,4]

If you want to define it to use as a function you can do

mod(x, y) = y (x / y - floor(x / y))

and then use that, eg

http://web.geogebra.org/?command=mod(x,y)=y(x/y-floor(x/y));mod(5,4)

2

You can calculate mod on any calculator with this algorithm:

Example 27 / 6 = 4.5

27 / 6 = 4.5

4.5 - 4 = 0.5 Get the fractional part

6 * 0.5 = 3 Mul the denominator and fraction

27 mod 6 = 3

Works every time.

  • 0
    No, it doesn't work every time because of limited precision. If you ask for the fractional part of $\frac {10^{50}+1}{10^{50}}$ you get exactly zero on calculators, so your algorithm will give zero for the mod.2016-06-24
0

There is a mod function in TI NSpire and any graphing calculator:

Syntax: mod(number to divide, modulus (divisor))

E.g. mod(35^51, 319) Enter yields 167