On a calculator, pressing = more than once

  • Thread starter Thread starter Ganesh Ujwal
  • Start date Start date
  • Tags Tags
    Calculator
AI Thread Summary
When pressing the equals button multiple times on certain calculators, the displayed answer changes because the calculator is designed to apply a recursive operation on the current result. For example, if you input 1 + 1 and press equals, the calculator shows 2. Pressing equals again applies the last operation (in this case, adding 1) to the current result, resulting in 3. This feature is intentional and not a manufacturing error; it allows for quick calculations using previously displayed results. Some calculators, like older Casio models, require entering a "constant" mode to achieve this, while modern calculators may not need this explicit step. The behavior is a software design choice, enhancing usability for recursive calculations.
Ganesh Ujwal
Messages
51
Reaction score
0
In calculator, when we press = more than one times, why answer will get change?
yesterday, i pressed 1+1 then i press = it gives 2, again i press = it gives 3, why if answer is 2 why it is showing 3, all calculators like this showing, is this manufacturing error?
 
Computer science news on Phys.org
Well, my calculators don't do that, but what my calculator does do is that it has an ans button (short for previous answer), so if you press
1 =
then 1 appears as the answer, then press
ans + 1 =
then 2 appears, now just press = again, then 3 appears, etc. because ans is updated as you go along. This makes for easily applying recursive equations, such as quickly finding a good approximation to a root of a function using Newton's method.

Maybe this is what your calculator is doing? Can you try
1+2==
2+1==
2+2==
and post the results for all of these?
 
It's applying a recursive operation, as Mentallic said.

In the "classic" Casio calculators (don't know how the new ones are designed), simply pressing "=" repeatedly wouldn't do the job. Instead you needed to press the operation key, e.g. "+" or "X" twice in succession. Then a "K" symbol would appear on the display, signifying entry into "constant" mode. In this state, repeatedly pressing "=" would recursively apply the required operation.

E.g. To recursively add two to various inputs you would do:

2 + +

and a "K" symbol would appear.

Now to just count in twos, you would keep pressing "=" to get "4, 6, 8..." ad infinitum.

To add two to a different input you can key it in, then press "=", e.g.

103 =

which would yield 105.

I guess the modern calculators don't need you to explicitly enter K mode. But I consider the "old-fashioned" mode of operation more robust by far because it's fairly easy to mistakenly double-press "=" and if you might've unwittingly applied an operation twice without actually meaning to.
 
@Curious3141 i think you didn't understand my question, why is answer is changing due it is manufacturing error or not?
 
Ganesh Ujwal said:
@Curious3141 i think you didn't understand my question, why is answer is changing due it is manufacturing error or not?
I don't think you understood his answer.

Curious3141 said:
It's applying a recursive operation

And if you cared to actually digest what has been written (if you have read much of it at all) then you'd notice that for us to help you further, since we don't know what calculator you're using - and it should be evident by now that many calculators work differently, then doing this might help:

Mentallic said:
Can you try
1+2==
2+1==
2+2==
and post the results for all of these?

And no, it's very unlikely to be a manufacturing error. It's more of a software design feature that the developers decided to go with.
 
Ganesh Ujwal said:
@Curious3141 i think you didn't understand my question, why is answer is changing due it is manufacturing error or not?

It's not an error. Pressing equals repeats the operation on the currently displayed result. e.g. 42+1 = 43 ... press equals again and you'll get 43+1 = 44.
 
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...
In my discussions elsewhere, I've noticed a lot of disagreement regarding AI. A question that comes up is, "Is AI hype?" Unfortunately, when this question is asked, the one asking, as far as I can tell, may mean one of three things which can lead to lots of confusion. I'll list them out now for clarity. 1. Can AI do everything a human can do and how close are we to that? 2. Are corporations and governments using the promise of AI to gain more power for themselves? 3. Are AI and transhumans...
Back
Top