Yet another calculator problemThe Laziest SurveyorMath with dinosaursThe Case of the Miscalculating CalculatorA rather curious division machineThe Lazy worker and the Punctual BossSaving The Mayor (Part 2)Yet another simple math problemCalculator BombMaster and Slave versus Bob: easy version
Do aarakocra have arms as well as wings?
Owner keeps cutting corners and poaching workers for his other company
How to restrain your dragon?
intensity color with custom ray tracing
I need to know information from an old German birth certificate
What exactly is Apple Cider
I multiply the source, you (probably) multiply the output!
How do German speakers decide what should be on the left side of the verb?
Is it right to use the ideas of non-winning designers in a design contest?
antimatter annihilation in stars
Do you need to burn fuel between gravity assists?
What is the purpose of the rotating plate in front of the lock?
Features seen on the Space Shuttle's solid booster; what does "LOADED" mean exactly?
Contractor cut joist hangers to make them fit
Is there a "right" way to interpret a novel, if not, how do we make sure our novel is interpreted correctly?
How to plot two curves with the same area under?
How to finish my PhD?
Is mountain bike good for long distances?
Bit floating sequence
How can faith be maintained in a world of living gods?
Can taking my 1-week-old on a 6-7 hours journey in the car lead to medical complications?
Did "Dirty Harry" feel lucky?
Could someone please explain what this inline #define assembly is doing?
Is every sentence we write or utter either true or false?
Yet another calculator problem
The Laziest SurveyorMath with dinosaursThe Case of the Miscalculating CalculatorA rather curious division machineThe Lazy worker and the Punctual BossSaving The Mayor (Part 2)Yet another simple math problemCalculator BombMaster and Slave versus Bob: easy version
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty margin-bottom:0;
$begingroup$
This is an easy one, just came out of my mind yesterday, while discussing calculator's architecture with a friend, even if it is not related to architecture itself.
A man walks into his office. He finds the calculator opened on his laptop with 0.33333333333 written on it. Just for fun, he wants to make 1 with just one operation (he's having such a good time). So he tries to divide by 0.33333333333. The calculator output is not 1.
What's the result he got? Why? What's the correct operation to get 1?
EDIT: Just to clarify, let's assume this is google calculator, that one you can use from google search page. Se everyone can "work" on the same calculator. It makes no difference, but this removes the "maybe this doesn't work on my '77 calculator" wild card.
mathematics
New contributor
Miles Davis is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
$endgroup$
|
show 9 more comments
$begingroup$
This is an easy one, just came out of my mind yesterday, while discussing calculator's architecture with a friend, even if it is not related to architecture itself.
A man walks into his office. He finds the calculator opened on his laptop with 0.33333333333 written on it. Just for fun, he wants to make 1 with just one operation (he's having such a good time). So he tries to divide by 0.33333333333. The calculator output is not 1.
What's the result he got? Why? What's the correct operation to get 1?
EDIT: Just to clarify, let's assume this is google calculator, that one you can use from google search page. Se everyone can "work" on the same calculator. It makes no difference, but this removes the "maybe this doesn't work on my '77 calculator" wild card.
mathematics
New contributor
Miles Davis is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
$endgroup$
1
$begingroup$
Are we to assume that the 3s repeat infinitely, or just for 8 digits?
$endgroup$
– Brandon_J
8 hours ago
$begingroup$
Is it because of precision error? If yes, then note that there are many architectures being used which means: different calculators, different results. In particular case, different answers may arise for this puzzle.
$endgroup$
– athin
8 hours ago
1
$begingroup$
@DonThousand Probably "he tries to divide by"?
$endgroup$
– Rand al'Thor
8 hours ago
1
$begingroup$
@DonThousand It means divide "by", sorry
$endgroup$
– Miles Davis
8 hours ago
2
$begingroup$
To problems like this, my default response is xkcd.com/169/
$endgroup$
– Don Thousand
7 hours ago
|
show 9 more comments
$begingroup$
This is an easy one, just came out of my mind yesterday, while discussing calculator's architecture with a friend, even if it is not related to architecture itself.
A man walks into his office. He finds the calculator opened on his laptop with 0.33333333333 written on it. Just for fun, he wants to make 1 with just one operation (he's having such a good time). So he tries to divide by 0.33333333333. The calculator output is not 1.
What's the result he got? Why? What's the correct operation to get 1?
EDIT: Just to clarify, let's assume this is google calculator, that one you can use from google search page. Se everyone can "work" on the same calculator. It makes no difference, but this removes the "maybe this doesn't work on my '77 calculator" wild card.
mathematics
New contributor
Miles Davis is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
$endgroup$
This is an easy one, just came out of my mind yesterday, while discussing calculator's architecture with a friend, even if it is not related to architecture itself.
A man walks into his office. He finds the calculator opened on his laptop with 0.33333333333 written on it. Just for fun, he wants to make 1 with just one operation (he's having such a good time). So he tries to divide by 0.33333333333. The calculator output is not 1.
What's the result he got? Why? What's the correct operation to get 1?
EDIT: Just to clarify, let's assume this is google calculator, that one you can use from google search page. Se everyone can "work" on the same calculator. It makes no difference, but this removes the "maybe this doesn't work on my '77 calculator" wild card.
mathematics
mathematics
New contributor
Miles Davis is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
New contributor
Miles Davis is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
edited 7 hours ago
Miles Davis
New contributor
Miles Davis is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
asked 9 hours ago
Miles DavisMiles Davis
1154 bronze badges
1154 bronze badges
New contributor
Miles Davis is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
New contributor
Miles Davis is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
1
$begingroup$
Are we to assume that the 3s repeat infinitely, or just for 8 digits?
$endgroup$
– Brandon_J
8 hours ago
$begingroup$
Is it because of precision error? If yes, then note that there are many architectures being used which means: different calculators, different results. In particular case, different answers may arise for this puzzle.
$endgroup$
– athin
8 hours ago
1
$begingroup$
@DonThousand Probably "he tries to divide by"?
$endgroup$
– Rand al'Thor
8 hours ago
1
$begingroup$
@DonThousand It means divide "by", sorry
$endgroup$
– Miles Davis
8 hours ago
2
$begingroup$
To problems like this, my default response is xkcd.com/169/
$endgroup$
– Don Thousand
7 hours ago
|
show 9 more comments
1
$begingroup$
Are we to assume that the 3s repeat infinitely, or just for 8 digits?
$endgroup$
– Brandon_J
8 hours ago
$begingroup$
Is it because of precision error? If yes, then note that there are many architectures being used which means: different calculators, different results. In particular case, different answers may arise for this puzzle.
$endgroup$
– athin
8 hours ago
1
$begingroup$
@DonThousand Probably "he tries to divide by"?
$endgroup$
– Rand al'Thor
8 hours ago
1
$begingroup$
@DonThousand It means divide "by", sorry
$endgroup$
– Miles Davis
8 hours ago
2
$begingroup$
To problems like this, my default response is xkcd.com/169/
$endgroup$
– Don Thousand
7 hours ago
1
1
$begingroup$
Are we to assume that the 3s repeat infinitely, or just for 8 digits?
$endgroup$
– Brandon_J
8 hours ago
$begingroup$
Are we to assume that the 3s repeat infinitely, or just for 8 digits?
$endgroup$
– Brandon_J
8 hours ago
$begingroup$
Is it because of precision error? If yes, then note that there are many architectures being used which means: different calculators, different results. In particular case, different answers may arise for this puzzle.
$endgroup$
– athin
8 hours ago
$begingroup$
Is it because of precision error? If yes, then note that there are many architectures being used which means: different calculators, different results. In particular case, different answers may arise for this puzzle.
$endgroup$
– athin
8 hours ago
1
1
$begingroup$
@DonThousand Probably "he tries to divide by"?
$endgroup$
– Rand al'Thor
8 hours ago
$begingroup$
@DonThousand Probably "he tries to divide by"?
$endgroup$
– Rand al'Thor
8 hours ago
1
1
$begingroup$
@DonThousand It means divide "by", sorry
$endgroup$
– Miles Davis
8 hours ago
$begingroup$
@DonThousand It means divide "by", sorry
$endgroup$
– Miles Davis
8 hours ago
2
2
$begingroup$
To problems like this, my default response is xkcd.com/169/
$endgroup$
– Don Thousand
7 hours ago
$begingroup$
To problems like this, my default response is xkcd.com/169/
$endgroup$
– Don Thousand
7 hours ago
|
show 9 more comments
2 Answers
2
active
oldest
votes
$begingroup$
If you type 0.333333333333 (12 3s) into google calculator and press enter, the display shows 0.33333333333 (11 3s). This is what happened before the man found the calculator.
If you then divide that by 0.33333333333 (11 3s), you get 1.00000000001 because internally it still remembers the number at a higher precision than what it displays.
$endgroup$
$begingroup$
Didn't the OP say in the comments it wasn't to do with precision error?
$endgroup$
– hexomino
3 hours ago
add a comment |
$begingroup$
I guess it is a problem with recurring decimal where someone divided 1 by 3.
Probably the calculator holds more decimal places than it shows. ( though i cant remember if i saw so at past) so dividing with displayed number does not work.
Multiplying with 3 may result closer to 1.
$endgroup$
add a comment |
Your Answer
StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "559"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);
else
createEditor();
);
function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/4.0/"u003ecc by-sa 4.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
noCode: true, onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);
);
Miles Davis is a new contributor. Be nice, and check out our Code of Conduct.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fpuzzling.stackexchange.com%2fquestions%2f87830%2fyet-another-calculator-problem%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
2 Answers
2
active
oldest
votes
2 Answers
2
active
oldest
votes
active
oldest
votes
active
oldest
votes
$begingroup$
If you type 0.333333333333 (12 3s) into google calculator and press enter, the display shows 0.33333333333 (11 3s). This is what happened before the man found the calculator.
If you then divide that by 0.33333333333 (11 3s), you get 1.00000000001 because internally it still remembers the number at a higher precision than what it displays.
$endgroup$
$begingroup$
Didn't the OP say in the comments it wasn't to do with precision error?
$endgroup$
– hexomino
3 hours ago
add a comment |
$begingroup$
If you type 0.333333333333 (12 3s) into google calculator and press enter, the display shows 0.33333333333 (11 3s). This is what happened before the man found the calculator.
If you then divide that by 0.33333333333 (11 3s), you get 1.00000000001 because internally it still remembers the number at a higher precision than what it displays.
$endgroup$
$begingroup$
Didn't the OP say in the comments it wasn't to do with precision error?
$endgroup$
– hexomino
3 hours ago
add a comment |
$begingroup$
If you type 0.333333333333 (12 3s) into google calculator and press enter, the display shows 0.33333333333 (11 3s). This is what happened before the man found the calculator.
If you then divide that by 0.33333333333 (11 3s), you get 1.00000000001 because internally it still remembers the number at a higher precision than what it displays.
$endgroup$
If you type 0.333333333333 (12 3s) into google calculator and press enter, the display shows 0.33333333333 (11 3s). This is what happened before the man found the calculator.
If you then divide that by 0.33333333333 (11 3s), you get 1.00000000001 because internally it still remembers the number at a higher precision than what it displays.
edited 2 hours ago
Supersonic
5512 silver badges11 bronze badges
5512 silver badges11 bronze badges
answered 5 hours ago
hdsdvhdsdv
8381 silver badge10 bronze badges
8381 silver badge10 bronze badges
$begingroup$
Didn't the OP say in the comments it wasn't to do with precision error?
$endgroup$
– hexomino
3 hours ago
add a comment |
$begingroup$
Didn't the OP say in the comments it wasn't to do with precision error?
$endgroup$
– hexomino
3 hours ago
$begingroup$
Didn't the OP say in the comments it wasn't to do with precision error?
$endgroup$
– hexomino
3 hours ago
$begingroup$
Didn't the OP say in the comments it wasn't to do with precision error?
$endgroup$
– hexomino
3 hours ago
add a comment |
$begingroup$
I guess it is a problem with recurring decimal where someone divided 1 by 3.
Probably the calculator holds more decimal places than it shows. ( though i cant remember if i saw so at past) so dividing with displayed number does not work.
Multiplying with 3 may result closer to 1.
$endgroup$
add a comment |
$begingroup$
I guess it is a problem with recurring decimal where someone divided 1 by 3.
Probably the calculator holds more decimal places than it shows. ( though i cant remember if i saw so at past) so dividing with displayed number does not work.
Multiplying with 3 may result closer to 1.
$endgroup$
add a comment |
$begingroup$
I guess it is a problem with recurring decimal where someone divided 1 by 3.
Probably the calculator holds more decimal places than it shows. ( though i cant remember if i saw so at past) so dividing with displayed number does not work.
Multiplying with 3 may result closer to 1.
$endgroup$
I guess it is a problem with recurring decimal where someone divided 1 by 3.
Probably the calculator holds more decimal places than it shows. ( though i cant remember if i saw so at past) so dividing with displayed number does not work.
Multiplying with 3 may result closer to 1.
answered 3 hours ago
Always ConfusedAlways Confused
2602 silver badges15 bronze badges
2602 silver badges15 bronze badges
add a comment |
add a comment |
Miles Davis is a new contributor. Be nice, and check out our Code of Conduct.
Miles Davis is a new contributor. Be nice, and check out our Code of Conduct.
Miles Davis is a new contributor. Be nice, and check out our Code of Conduct.
Miles Davis is a new contributor. Be nice, and check out our Code of Conduct.
Thanks for contributing an answer to Puzzling Stack Exchange!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
Use MathJax to format equations. MathJax reference.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fpuzzling.stackexchange.com%2fquestions%2f87830%2fyet-another-calculator-problem%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
1
$begingroup$
Are we to assume that the 3s repeat infinitely, or just for 8 digits?
$endgroup$
– Brandon_J
8 hours ago
$begingroup$
Is it because of precision error? If yes, then note that there are many architectures being used which means: different calculators, different results. In particular case, different answers may arise for this puzzle.
$endgroup$
– athin
8 hours ago
1
$begingroup$
@DonThousand Probably "he tries to divide by"?
$endgroup$
– Rand al'Thor
8 hours ago
1
$begingroup$
@DonThousand It means divide "by", sorry
$endgroup$
– Miles Davis
8 hours ago
2
$begingroup$
To problems like this, my default response is xkcd.com/169/
$endgroup$
– Don Thousand
7 hours ago