Square Root | Logical Redstone #15
Ойындар
!!! Check out the NEW AND IMPROVED logical redstone series here! • Logical Redstone Reloaded !!!
In this episode, I cover a square root method called the long division method, and build a sequential square root extractor.
Patreon: / mattbatwings
Discord: / discord
My socials: linktr.ee/mattbatwings
My texture pack: modrinth.com/resourcepack/mat...
World Download: (JAVA 1.18.2) www.planetminecraft.com/proje...
-------------------------
Want to get more involved in the logical redstone community?
Learn Logical Redstone! • Logical Redstone Reloaded
Open Redstone Engineers (ORE): openredstone.org/
0:00 Intro
1:41 Square Root on paper
5:12 Building a Square Root Extractor
10:32 Showcase Examples
11:18 More in-depth look
15:03 Subscribe!
Music: • the background MUSIC f...
Пікірлер: 131
Check out the NEW AND IMPROVED logical redstone series here! kzread.info/head/PL5LiOvrbVo8keeEWRZVaHfprU4zQTCsV4
@ItzFlowerGMD
Жыл бұрын
first reply
Finaly, I can make realistic reflections in Minecraft!
@devhonk1722
2 жыл бұрын
can't wait for fast inverse square root!
@antimattur
2 жыл бұрын
quake in mc confirmed
@123luk
Жыл бұрын
How do ya do it?
The amount of cabbage is directly proportional to the square root of the carrots divided by the volume of the Mayo. That’s Cole’s Law.
@echoes6092
2 жыл бұрын
fuck this is great lmaooo
@sprockerdan619
2 жыл бұрын
Aaaaahhhh 👉👉
@Heyght
Жыл бұрын
So you just need to put a lot of Mayo to keep the amount of cabbage very low
Its disapointing how little views these videos get, i love them!
@Twi_543
2 жыл бұрын
Yh me too!!
@Meeeeee_99
Жыл бұрын
If you like all the videos they’ll get recommended more
@BaldiReycaster
2 ай бұрын
@@Meeeeee_99Just not by much
Hi guys, thanks for watching! Just a small correction: At 5:00, I should be trying to subtract 1101 instead of just 01, because I forgot to bring the orange part down. It doesn't affect the answer though.
@casper3882
2 жыл бұрын
how are you going though the blocks in creative
@mattbatwings
2 жыл бұрын
@@casper3882 carpet mod, creativePassthrough
@casper3882
2 жыл бұрын
@@mattbatwings thanks
@casper3882
2 жыл бұрын
@@mattbatwings I'm using carpet mod and it not working
@The2FunBro
2 жыл бұрын
What's carpet mod?
whoa I never knew about this way of calculating square roots. thanks matt!
Today my math teacher taught us how to square root -1 ... It was unreal
@asheep7797
2 жыл бұрын
The squareroot of i is complex.
@NOT_A_ROBOT
2 жыл бұрын
@@asheep7797 it really is complicated
@boiii2148
2 жыл бұрын
It’s quite complex to square root a negative number You must require a lot of imagination
@fhudufin
Жыл бұрын
@@asheep7797 yeah its unreal
If you shift the bits of the input, you can adjust the system to always output with a significance (precision) of 8 bits!
Today, my son learned about square roots. I was so shocked that I could only say one word: "Radical!"
@reids.
2 жыл бұрын
sir you hold 15% of this comment section
@reversestudios1055
2 жыл бұрын
@@reids. and I’m proud
do people actually build these from the tutorials? i just love watching and learning the algorithms. binary truly is superior. also fun to watch your block editing skills (the copying and pasting stuff idk)
@creeperdoesredstone
2 жыл бұрын
I did 😆
@reversestudios1055
2 жыл бұрын
Mhm, and if they’re on Java some download the tutorial build from his planet Minecraft to play around with it instead
@kepler69c32
2 жыл бұрын
I try to create my own machine out of the algorithm but I end up watching the block tutorial lmao
@luketurner314
Жыл бұрын
"The copying and pasting stuff" is a mod called WorldEdit
There is no way how good is this explanation Made. I'm speechless, GOOD JOB
Please make more of these, I am a CS student and I appreciate these videos!
New sub, hi. Just wanted to stop by and say your videos are literally invaluable in my latest project. (I'm trying to recreate arcade games from the 80s on one MC computer!) I value your knowledge greatly, keep it up.
I was just looking for a tutorial on this!
this stuff is just beyond my abilities but i love to learn about it
This is tutorial is very good👍
this is so cool !
I love it how when you finish watching the video the square completes around the border of the thumbnail
@SpencerTwiddy
Жыл бұрын
What do you mean? Did he change the thumbnails since you posted this?
Awesome!
I downloaded your most recent calculator and noticed instead of using each of these machines for each operation, you used an ALU. With the fact that each of these binary processors use the same base adder unit, will you be teaching us how to make an ALU with it?
@user-dh8oi2mk4f
Жыл бұрын
The ALU just uses conditional logic to select which components to use
Nice tutorials actually :D
Did you just teach me math in Minecraft? Where were you when I was in school
I think the explanation could've benefited from a decimal example with more than one step, or at least that's what I think would've help me see what's going on with bringing the partial answer down into the subtraction.
The amount of square root puns is... unreal...
I put my root beer in a square glass Now I just have beer
Loved the vid. But I do wonder where you will take this? You've completed the basic and basic functions. Maybe an AUL? Expand on integrating all the parts together?
@nikkiofthevalley
2 жыл бұрын
Ah, yes, an Arithmetic Unit Logic.
I like it how he says "do math on paper" when he is actually doing math on sandstone
How did u fly through blocks like in minute 9:25? I have enabled creative no clip on my creative world but this doesn't work
Helo, it would be interesting if you can combine al of this operation in one machine, lick an ALU (arithmetic logic unit) with all the control necessary. Also i love your videos ❤, it took for me 1 year to learn this in high school.
nice
upload to brrr
better than my doctor at the collage i sware
How did you make it show two decimals accurately in your newest calculator? x1000 the number before input?
I never knew this algorithm!
Hi matt will you be doing a combinational square root device ?? Some of the sequential devices (binary-bcd, divider) only work to a certain number then go out of sequence, so a timing issue for bedrock/pocket editions, but the combinational devices always work
@user-Player530
2 жыл бұрын
Just string a bunch of conditional subtractors together and have the carry out inputted into the ones you need to subtract.
the process reminds me of proof by induction
Make a tutorial for exponantiation!
How Matt! I was wondering if you could make a video about comparing binary numbers? The ones I've found on YT uses pistons (which I'm not a fan of) I'm still trying to make one without piston maybe you can help? Thanks.
@user-Player530
2 жыл бұрын
XOR gate or subtractor
Why do we have to substract 1 + all the numbers we subtracted earlier? I know it works that way but I don’t know why.
would be cool if the thumbnail's redstone lamps displayed the episode number in binary
how expandable is this algorithm (not redstone scheme) to real numbers? can I ask for sqrt(2) and get 10 "decimals" (bi-nimals?)?
@user-Player530
2 жыл бұрын
Yes
My girlfriend is the square root of -100. A perfect 10 but purely imaginary.
@mc26_
2 жыл бұрын
10 Years old
Can you do a more indepth video on displays. pls
I wonder what crazy math you will teach us how to do in minecraft
My wife said “You can’t change the square-root of a negative.” She said I couldn’t..... but i can.
@Speedster___
2 жыл бұрын
Use i
@asheep7797
2 жыл бұрын
If you want to undo it, just put pi on it, and give an e-car some of that power.
Poggg
yooooooooooo
Second, but why is it unlisted?
How are you phasing through the blocks? you aren't in spectator because you can still edit the world around you.
@mattbatwings
Жыл бұрын
carpet mod. /carpet creativenoclip true
@wildmtnmonkey3682
Жыл бұрын
@@mattbatwings awesome, thanks!
Hi!
Hello I'm from Indonesia
I’m waiting for how to make a control unit
I’ve been trying to make this design 16-bit. Trying to synd everything is a nightmare..
@S4ndedude
Күн бұрын
so true i am also trying, but its not working ):
:wiggledance:
@twentyonerocks
2 жыл бұрын
hehe :wiggledance:
@heh2393
2 жыл бұрын
hehe :wiggledance:
@kevinsharma8d_362
2 жыл бұрын
hehe :wiggledance:
@reversestudios1055
2 жыл бұрын
hehe :wiggledance:
@litlehedgehog_1241
2 жыл бұрын
hehe :wiggledance:
So, i guess next time it'll be numbers in a power of "N"?
make cubic root
Ok
Hey, a suggestion, maybe you could add homework for this series?
Can you build a map to help with my calculus homework. Yknow build a redstone circuit to show the answer to sine and tangent Im joking Unless you want to 😳😳😳🫡
yeah, work the answer backwards
“Dad, I don’t know the square root of sixteen.” Son, I fourgive you.
Matt, what's the square root of 69
@reversestudios1055
2 жыл бұрын
420
First 😎
@maxooma3214
2 жыл бұрын
Man, 30 seconds faster and I would be first.
@Asterism_Desmos
2 жыл бұрын
@@maxooma3214 The craziest part is, it hasn’t even been 30 seconds lol that’s how fast he is
what the heck?!!? square root?!?!?!?
My girlfriend is like the square root of -100 A solid 10, complex and negative half the time.
Why don't real computers do it this way? It seems much more efficient than the traditional algorithms
Hi Matt I 4ealy like your tutorial it's long yes but it's not block by block that give me head ache but can you pls consider you have aloot of bedrock user so plsssssss stop using pistons and stop priming the comperator 😅
Newtons method.
@boiii2148
2 жыл бұрын
I was also thinking about that I think you just need to connect a divisor with an adder for that Since for square root it’s just x_n+1= (xn +k/xn)/2 Where k is the number to square root We can divide an Random number from the start Add to the adder Divide by two(easy in binary) And hook it back into the input And do it for like an abitary amount of time until we get a good answer
@boiii2148
2 жыл бұрын
It is probably not nessary for square root in this case As Matt showed that there is a much more easy way But we could do that for like Cube root?
@boiii2148
2 жыл бұрын
And also maybe Taylor series is possible too
@pebble6248
2 жыл бұрын
@@boiii2148 You can use newtons method for approximating any nth root. You can even use newtons method to approximate other inverse functions like logarithms or even the lambert w function.
@boiii2148
2 жыл бұрын
@@pebble6248 I know that Newtons method is quite powerful But the way showed in the video looks way faster
How to make 5 square 0 0 0 0 0
nice
nice