Largest three digit number in Matlab?
Show older comments
Hello, my professor asked us this question as a sort of a trick question and I can't seem to wrap my head around it. The most obvious choice is "999", but my professor said that is't the answer. My second choice was "Inf", but infinity isn't actually a number so that wouldn't work. Finally, I thought of "realmax", but that wouldn't work either since it contains more than three digits. I'm really curious to know what it could be...
1 Comment
Karan Sandhu
on 25 Apr 2016
Edited: Karan Sandhu
on 25 Apr 2016
Accepted Answer
More Answers (2)
Roger Stafford
on 25 Apr 2016
Edited: Roger Stafford
on 25 Apr 2016
Following Walter's idea, if the number must be exactly representable I propose:
8^(2^8)
If it doesn't have to be exact, I suggest
3^(5^4)
999!!!
Categories
Find more on Strategy & Logic in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!