Calculators with mod and custom functions

Click For Summary
A calculator with a mod (remainder) function that allows for custom function input is sought after. The HP-50g is mentioned as having a mod function, while the TI-84+ can also be programmed to perform mod calculations using the floor function. Additionally, learning programming languages like Perl is suggested as a way to achieve this functionality. The HP48G+ is also recommended as a suitable option for those needing similar capabilities.
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
 
Computer science 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 a \mathop{\mathrm{mod}} b = a - b\left\lfloor\frac{a}{b}\right\rfloor. (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.
 
Thread 'ChatGPT Examples, Good and Bad'
I've been experimenting with ChatGPT. Some results are good, some very very bad. I think examples can help expose the properties of this AI. Maybe you can post some of your favorite examples and tell us what they reveal about the properties of this AI. (I had problems with copy/paste of text and formatting, so I'm posting my examples as screen shots. That is a promising start. :smile: But then I provided values V=1, R1=1, R2=2, R3=3 and asked for the value of I. At first, it said...

Similar threads

  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 11 ·
Replies
11
Views
3K
  • · Replies 11 ·
Replies
11
Views
2K
Replies
10
Views
6K
Replies
17
Views
1K
  • · Replies 15 ·
Replies
15
Views
2K
  • · Replies 14 ·
Replies
14
Views
2K
  • · Replies 13 ·
Replies
13
Views
2K
  • · Replies 3 ·
Replies
3
Views
2K
Replies
4
Views
2K