The calculator uses RPN (reverse Polish notation), which is standard on the better calculators from Hewlett-Packard. Once you get used to RPN, you'll never want to go back to the awkward parentheses of TI calculators.
Actually, I have a
"print_scientific" project
(link to project)
that would work to do the display properly, but I've not attempted to combine it with the calculator yet. (no time for play lately)
The v1.2.1 display is better than the v1.1 display (which never showed more than 1 decimal point and which got really messed up when it switched to scientific notation). I've considered doing a better display, but I'd have to upgrade my print_decimal project to scientific notation, and I've been too lazy to do that.
What, no hyperbolic functions? Just kidding... I was going to complain about the funny behavior of the decimal point (only shows up on the display when you hit the next number) and the inability to display more than one decimal place but then I realized those must be limitations in the Scratch Variable display. I suppose it could be outfitted with a custom display but that's a lot of work for little gain. Anyway, nice calculator.
This project is a simple reverse-Polish notation calculator.
Input and computation is maintained to the precision of the floating-point numbers, but there is no scientific notation (powers of ten). for input or output.
New version uses Scratch v1.2.1 trig and exponential functions, making the calculator simpler and faster.
Comments
You need to be logged in to post comments
Add a Comment
The calculator uses RPN (reverse Polish notation), which is standard on the better calculators from Hewlett-Packard. Once you get used to RPN, you'll never want to go back to the awkward parentheses of TI calculators.
(view all replies)Comment Reply
This caculator is a little weird. why did you ake binary operations like that?
(view all replies)Comment Reply
Actually, I have a "print_scientific" project (link to project) that would work to do the display properly, but I've not attempted to combine it with the calculator yet. (no time for play lately)
(view all replies)Comment Reply
I think you have the same problem as me with decimals. Its really a shame that Scratch can only go up to tenths place.
(view all replies)Comment Reply
The v1.2.1 display is better than the v1.1 display (which never showed more than 1 decimal point and which got really messed up when it switched to scientific notation). I've considered doing a better display, but I'd have to upgrade my print_decimal project to scientific notation, and I've been too lazy to do that.
(view all replies)Comment Reply
What, no hyperbolic functions? Just kidding... I was going to complain about the funny behavior of the decimal point (only shows up on the display when you hit the next number) and the inability to display more than one decimal place but then I realized those must be limitations in the Scratch Variable display. I suppose it could be outfitted with a custom display but that's a lot of work for little gain. Anyway, nice calculator.
(view all replies)Comment Reply
Cool!
(view all replies)Comment Reply
This is an upgrade from (link to project) using the new functions of Scratch v1.2.1 to make the project simpler and faster.
(view all replies)Comment Reply