SIGN UP FOR THE RECESS WAITLIST HERE!!! recess.gg/mattbatwings And join the Redstone at Recess discord!! discord.gg/X9CXVAqZAG Questions? Ask in reply to this message, or ask in the discord!
Now for the Ultimate Challenge: Add Sqrt, Exponents Add Functions like sin, cos and tan Add Imaginary Numbers (-> Square Root of negative Numbers puts imaginary number) Add a nice Display to show Exponents, like graphically how you would write it, with the exponent on top of the Number. Good Luck! :) (Your work is absolutely amazing and I really appreciate it! I know some of these Ideas are very hard to impossible to build. Hopefully you always stay such a great RU-vidr and Redstoner! :D)
I'm a mechatronics engineer and a senior software developer. I have to say that I'm amazed with all your dedication and creativity, mixing all the things I love in your videos. Keep it up man!
What you could also do if you wanted to have a history of old inputs is have the display be multi-rowed, but only the bottom row gets input to by the controls. Then, whenever you hit enter, it just passes the line to the row above it with some sort of 2D shift register, one for shifting the characters to the left, another for shifting everything up, making it look like a real multi-line calculator
You’ve inspired me to learn so much more about computing and helped motivate me to major in computer engineering & programming!! You’re great keep up the amazing work!!
Man, I got excited for complex exponentials, but still, amazing build. I once had a programming assignment to convert expressions to postfix notation, and now I finally know why that's useful, so that's cool.
lol fuck I missed the thumbnail mistake now it’s already fixed It said e*i^pi + 1 = 0 What’s correct and now there is e^i*pi + 1 = 0. The i was the same size as the e, when it should instead be same size as the pi
This is damn cool. I've seen some other really incredible redstone calculator showcases (namely your very own incredible graphing calculator), but I like how this one distills the complex problem of evaluating an expression into it's fundamental steps, then concisely explains how to solve each of those steps from a redstone/ CS perspective and brings it all together in a complete package. I really feel like I understand what I am looking at with this build and it doesn't just seem like an impressive mess of wires.
I think a history display of recent equations and results would be cool and relatively easy. The most important thing for doing more advanced math would be variables and an "answer" button like a TI84. The answer token lets you use the result of the last equation in the middle of a new one, allowing for stuff like "1/Ans".
On the minus sign topic. You say you use a binary minus and an unary minus but from my knowledge it should be possible to only use the unary to negate the next token and then add the previous instead of differentiating between the operations. In the end substraction is only adition by a negative number
Ah true, didn't think of that! Hardware wise I think it would end up being about the same - essentially the negator would be moved from evaluation to tokenization
You know, it would've been easier just to make number after a minus straight up negative (two's complement if you will) then just using regular addition. I also really liked the base 2 multiplication trick of just separating a multiplication into powers of two, then bit shifting, and finally adding back together, would've been cool to see a two way system for both multiplication and division, since all that's necessary for the entire calculator be this + two adders.
This trick predates binary computers and even binary positional notation itself by _thousands of years,_ actually being considered easier than multiplying decimal numbers even for humans. It's often call "Russian Peasant Multiplication", though it seems to have existed even in ancient Egypt. Yes; people were doing binary long multiplication before they were doing _binary._
I want to see some dude who actually works for NASA or SpaceX use this for something work related. It would be the biggest meme in Minecraft for a long time. “NASA uses red stone calculator to prepare for rocket launch.”
Very cool video as always! "postfix" notation is also sometimes called "reverse polish notation"(and some scientific calculators use it or can use it directly). All these parsers in Minecraft redstone projects lately got me thinking... How long until the first Minecraft CPU has it's own redstone-based assembler/compiler?
I think someone has nearly done this a long time ago but I don’t remember who. (Except the assembler weren’t in game, it was an external program which created a schematic for the ROM that gets pasted in to the world)
@@samuelhulme8347 Yes, people have built Minecraft CPUs with external assemblers/compilers - I'm actually nearly complete on mine. But I really want to see an *in-game* assembler/compiler, with no external tools needed! I wouldn't even mind if it uses command blocks, and more complicated parsers have been built in Minecraft before(e.g. SethBlings BASIC interpreter including lexer/parser/interpreter), although a "survival-friendly" version definitely could be build and would be cool!
they work the same. Multiplication and Division aren't evaluated in a specific order, just left to right. Addition and Subtraction are also just left to right. What matters is that you do multiplication and division BEFORE addition and subtraction Also, Parentheses (P) is the same as Brackets (B) and the O is just another word for E, its the same
for the binary and unary issue, couldn't you just convert all subtractions to unary by placing a positive symbol beforehand and wrapping the number in parenthesis, it would probably save some space, not sure about complexity, but if I were to assume, it would also make it simpler, as you're only adding a symbol to the operation, rather than making a whole new separate token
Stack-based languages often use pre/postfix for arithmetic, but you can have pre/postfix arithmetic outside of stack-based langauages, e.g. the Lisp family. There's also non-esoteric stack-based languages such as Forth.
I'm definitely going to need to take a look at the display you made! One of the projects I've done historically on the server I play on is a 24 char typewriter using 3x5 characters, and while I think the individual display modules are about ideal, I'm really curious if you've done something to improve on my own take on the design. Seems there's some convergent ideas judging by what I've seen in the video thus far.
I understand that a lot of effot anstuff goes to these recess but 20$/week is a lot, that's like 100zł, there is no way i coud ever possibly afford that
1/0 should give you an infinite number (function 1/x decreases on the range (0; +inf)). But this calculator doesn't have inf, so it just returns the maximum number it can handle
Me seeing this video: I need to redesign my computer that is a WIP. Oh well, I'll just finished this computer that I am working on that will do assembly, then start over with one that does floating point
08:26 this confused me for a bit lol In England we're taught BODMAS. Brackets, Orders, Division, Multiplication, Addition, Subtraction. Not heard of PEMDAS before but good to know. I wonder why the difference.