Calculators with mod and custom functions

Join the discussion
Ask a follow-up here, or get your own question answered by working scientists, mathematicians and engineers — people, not an autocomplete.
Real named experts · corrections over time · the nuance an AI answer skips
2 replies · 7K views
nradosevic
Messages
1
Reaction score
0
Hi,
I need a calculator that have mod(remainder) function and that allows me to enter custom function, for example: f(x) = (x^2+3x+2)mod13 , and then quickly calculate the values of that function by entering different values for x.
Do you know any calculator that can do that?
Thanks
 
Physics news on Phys.org
My HP-50g has a mod function.

Otherwise, if you have the floor function and can program functions you can use [itex]a \mathop{\mathrm{mod}} b = a - b\left\lfloor\frac{a}{b}\right\rfloor[/itex]. (This is what I did with my TI-84+.)
 
Perl

nradosevic said:
Hi,
I need a calculator that have mod(remainder) function and that allows me to enter custom function, for example: f(x) = (x^2+3x+2)mod13 , and then quickly calculate the values of that function by entering different values for x.
Do you know any calculator that can do that?
Thanks

Yeah... learn PERL and you can do that... or buy an HP48G+, that can do it.