Calculators with mod and custom functions

AI Thread 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.
 
I came across a video regarding the use of AI/ML to work through complex datasets to determine complicated protein structures. It is a promising and beneficial use of AI/ML. AlphaFold - The Most Useful Thing AI Has Ever Done https://www.ebi.ac.uk/training/online/courses/alphafold/an-introductory-guide-to-its-strengths-and-limitations/what-is-alphafold/ https://en.wikipedia.org/wiki/AlphaFold https://deepmind.google/about/ Edit/update: The AlphaFold article in Nature John Jumper...
Thread 'Urgent: Physically repair - or bypass - power button on Asus laptop'
Asus Vivobook S14 flip. The power button is wrecked. Unable to turn it on AT ALL. We can get into how and why it got wrecked later, but suffice to say a kitchen knife was involved: These buttons do want to NOT come off, not like other lappies, where they can snap in and out. And they sure don't go back on. So, in the absence of a longer-term solution that might involve a replacement, is there any way I can activate the power button, like with a paperclip or wire or something? It looks...
Back
Top