| 1. |
Solve : Preference on typing a SquareRoot into an equation? |
|
Answer» If you were using a small, text-based calculator that looked rather DOS-like, it only accepted input through the keyboard, and you wanted to add the Square Root symbol, would you rather type SQR into the equation, or press [Ctrl]+[R] to add the Square Root symbol? I know a trick with the calculator that can make your PC stall! My calculator? I don't think it stalls. :-? 8-) P.S. 3 replies,only two votes?? No, not yours. Unless you build in a scientific feature with the N! function. Try it, just type in another random number and press n! and watch your processor usage go through the roof. Quote No, not yours. Unless you build in a scientific feature with the n! function. Try it, just type in another random number and press n! and watch your processor usage go through the roof.It's a doddle in PROLOG... I didn't vote because I would almost never use a text-mode calculator. And for the very rare occasions when I do, I use bc on Linux. And I have no idea what the function is for SQRT (although ^.5 would probably do it). In short, I would look in the manual every time, so it wouldn't make any difference whether I had to type SQRT, hit Ctrl-R or dance the sailor's hornpipe dressed only in a pink feather BOA whilst waggling my ears and reciting the entire works of Shakespeare backwards. I'd just look in the manual and do what it TOLD me. Quote It's a doddle in Prolog... Quote sailor's hornpipe dressed only in a pink feather boa whilst waggling my ears and reciting the entire works of Shakespeare backwards. What? :-? Quote (although ^.5 would [highlight]probably[/highlight] do it). You question my mathematical ability!!!!!! Quote dance the sailor's hornpipe dressed only in a pink feather boa whilst waggling my ears and reciting the entire works of Shakespeare backwards. You didn't like the first Microsoft calculator either, eh? Quote In short, I would look in the manual every time. It's not necessarily just for the Square Root. For the Cosine, it would be "COS(" or [Ctrl]-[C]. Since many functions would use a similiar format, you shouldn't need to look at the help more than once. Then it depends wheather you like to press [Ctrl] or not. Quote No, not yours. Unless you build in a scientific feature with the n! function. Mine has that. It can return 200! (although it is not fully accurate with such large numbers). But if you type 999999999999! it won't freeze!! The variable that loops to solve this recursively is a 16-bit integer, so it at most loops to about 32,000. It can do that in less than a second, and just exits the loop with an error. It works and I hadn't even thought about that. Quote And I have no idea what the function is for SQRT (although ^.5 would probably do it). QBasic has a fast built-in Square Root function, which is one reason I think my calculator should. Quote QuoteNo, I question whether that's the right sequence, because offhand I can't remember whether bc uses RPN (reverse Polish notation, in case anyone's wondering).(although ^.5 would [highlight]probably[/highlight] do it). So touchy! |
|