The following warnings occurred:
Warning [2] count(): Parameter must be an array or an object that implements Countable - Line: 795 - File: showthread.php PHP 7.4.33 (FreeBSD)
File Line Function
/showthread.php 795 errorHandler->error





Post Reply 
Modulo or reminder computation on calculators without the modulo function
12-31-2022, 07:52 PM
Post: #1
Modulo or reminder computation on calculators without the modulo function
I was reading the manual of the Casio 991 DE X (I am not sure which model would be the international one) and I noticed that it had the modulo function. I though "woah, they are really putting more and more functions in good non-programmable and non-graphing calculators".

Then I looked at my trusty sharp el506w (bought in the early 2000), that is very good for many needs, and I thought: "well this model doesn't have a modulo function or a function that can compute the reminder between dividend and divisor".

Or doesn't it?

I noticed that the sharp el506w has the function a b/c, this function transforms the result of a decimal division X/Y in the form: a + b/c . Where a is normally an integer (0 or 1 in most cases), c is equal to Y or a submultiple of it.

Therefore the value of b is the reminder of the formula X mod Y. If c is a submultiple of Y, then one needs to multiply the value b by Y/c . In other words the modulo can be obtained relatively quickly with few operations.

I was thinking: is there a better way (with an handful of operations at most) to compute the modulo on such calculators? Is the same approach working on other calculators or does one need to get creative on other models? (considering models that are meant for scientific usage though and have plenty of functions, not really basic calculators)

Wikis are great, Contribute :)
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
Modulo or reminder computation on calculators without the modulo function - pier4r - 12-31-2022 07:52 PM



User(s) browsing this thread: 1 Guest(s)