I designed a silly but semi-functional computer.

  Рет қаралды 292,828

Stand-up Maths

Stand-up Maths

Күн бұрын

Пікірлер: 783
@unvergebeneid
@unvergebeneid Жыл бұрын
For someone who doesn't like being associated with something almost working, Matt Parker produces a lot of almost-working things and shows them to the world.
@bowfuz
@bowfuz Жыл бұрын
Sharing stuff that worked only once during development is my Forte lmao
@loreleihillard5078
@loreleihillard5078 Жыл бұрын
His motto is "give it a go"
@mikaderhacker2869
@mikaderhacker2869 Жыл бұрын
Parkerputer
@idontwantahandlethough
@idontwantahandlethough Жыл бұрын
@@bowfuz wait, do you type Will Forte's name enough that your phone automatically capitalizes it...?
@bowfuz
@bowfuz Жыл бұрын
@@idontwantahandlethough no my phone just, legit has the dumbest autocorrect, it regularly turns "is" to "I'd" and also capitalizes even conjunctions among other things
@FrankGevaerts
@FrankGevaerts Жыл бұрын
I didn't expect my belief in the commutativity of multiplication to be threatened by the thought of having to balance a box on a flamingo
@becauseimafan
@becauseimafan Жыл бұрын
😂
@ironnwizzard
@ironnwizzard Жыл бұрын
I'll take "Sentences First Said Today" for $500, Trebeck.
@EcceJack
@EcceJack Жыл бұрын
Thanks, that gave me a very good laugh 😂😂
@EliasMheart
@EliasMheart Жыл бұрын
Wow. Amazing, thank you xD
@ain92ru
@ain92ru Жыл бұрын
@@ironnwizzard r/BrandNewSentence is free ;-)
@johnchessant3012
@johnchessant3012 Жыл бұрын
Noah sent his animals to "go forth and multiply", but a pair of snakes told him "we can't multiply, we're adders" - so he builds them a log table.
@TheComputerCrasher42
@TheComputerCrasher42 Жыл бұрын
I wish I could do more than like this comment lol, this is great
@petevenuti7355
@petevenuti7355 11 ай бұрын
In binary, snakes and eggs. Not base 1010
@anon_y_mousse
@anon_y_mousse 11 ай бұрын
It's really great that log has that double meaning too.
@rithvikmuthyalapati9754
@rithvikmuthyalapati9754 11 ай бұрын
Aah the double meaning!
@linkinparker896
@linkinparker896 10 ай бұрын
sorry can anyone explain
@mattb5816
@mattb5816 Жыл бұрын
We're all worried about intelligent machines taking over, but here's Matt teaching trees how to do multiplication when they already outnumber us by trillions.
@weare2iq376
@weare2iq376 Жыл бұрын
Hi, I'm from the year 2024, and unfortunately machines already outnumber all humans, and trees, except TREE(3)+... I'm sure this joke will have aged well by the end of next month. I thank you.
@vigilantcosmicpenguin8721
@vigilantcosmicpenguin8721 11 ай бұрын
The Ents wouldn't have died off so soon if only they had arithmetic.
@nightchicken3517
@nightchicken3517 Жыл бұрын
Don't worry. I double-checked the first calculation, and 9 * 5 is 45. (Fixed typo) and that one guy really did a proof on this \/
@hancocki
@hancocki Жыл бұрын
You're a hero for doing that. 😊
@CiaraOSullivan1990
@CiaraOSullivan1990 Жыл бұрын
I don't believe either you or Matt and I request that you provide a detailed proof of your hypothesis.
@estherstreet4582
@estherstreet4582 Жыл бұрын
Did you check it with a tree though
@ChucklesTheBeard
@ChucklesTheBeard Жыл бұрын
@@CiaraOSullivan1990 I have discovered a truly remarkable proof which this youtube comment is too small to contain.
@boo0o0o00o
@boo0o0o00o Жыл бұрын
the first calculation was 9*5 though, can you check that too please?
@wtspman
@wtspman Жыл бұрын
I’m surprised you missed the obvious branding for the tree: it’s a Yule Log™️
@antivanti
@antivanti Жыл бұрын
I came here to exclaim this! 😅
@pihungliu35
@pihungliu35 Жыл бұрын
Well, he did say it is a "log table" at 21:27
@HellbladesFFXI
@HellbladesFFXI Жыл бұрын
I was so about to say, "Not just a log table, a Yule log table!" XD So glad I'm not the only one lol
@RichardBronosky
@RichardBronosky 11 ай бұрын
Merry Multiplication-Mas (✖️-Mas) 😜
@iabervon
@iabervon 11 ай бұрын
He has another computer in the fireplace, but we couldn't tell because it's a discreet log.
@maf654321
@maf654321 Жыл бұрын
Now we gotta have a Python-running Christmas tree that can generate multiplication algorithms automatically with any given set of presents
@maf654321
@maf654321 Жыл бұрын
Which makes me wonder, what are the constraints on size of the presents given the size of the tree? I imagine you’d want a variety of sized presents to distribute the baubles evenly…
@aceman0000099
@aceman0000099 Жыл бұрын
​​​​​@@maf654321the presents have to be a very specific size based on the size of your "unit" height. (In this case I think 8 is the shortest present so that one represents one unit). The unit height is constrained by the tree height (and bauble droopiness), such that the tree is a minimum of 58 units tall PLUS the droop of the top bauble (so the top bauble sits at 58 units but is attached a bit higher). So if your tree is 5 ft exactly (60"), and the droop is 2 inches, then your max unit height is 58 inches ÷ 58units = 1 inch. So your presents will be multiples of an inch up to 29 inches
@DFPercush
@DFPercush Жыл бұрын
@@maf654321 The height just has to match the numbers in the input table (whatever 2-9 corresponds to) times some arbitrary unit of length. If you can come up with another table that works, you can use those measurements.
@ivanborsuk1110
@ivanborsuk1110 Жыл бұрын
what is the meaning of this? mommy?
@jamessylviasyracuse-little865
@jamessylviasyracuse-little865 Жыл бұрын
Could that tree multiply 3 variables by using rotation in the plane as wall as height???
@o0superflu0o
@o0superflu0o Жыл бұрын
For some reason, the reveal of the display of the cogputer had me nearly falling off my chair with laughter. It's so ridiculously tiny, absolutely perfect!
@crumble2000
@crumble2000 11 ай бұрын
One might say it's comically small
@thedoublek4816
@thedoublek4816 7 ай бұрын
Comically large dials vs comically small display
@dumntuftv8853
@dumntuftv8853 Жыл бұрын
“This could be improved dramatically.” A quote for the ages. 18:34
@jasoncookuk
@jasoncookuk Жыл бұрын
it's a shame we won't have the sequel, "Somebody improved my cogputer by 40,832,277,770%"
@aceman0000099
@aceman0000099 Жыл бұрын
He's begging for fans to send him better ones there
@nanamacapagal8342
@nanamacapagal8342 Жыл бұрын
HERE WE GO
@mattgies
@mattgies Жыл бұрын
Likewise 21:49, "Do not eat my face!"
@nowymail
@nowymail Жыл бұрын
The first mechanical calculator was built in 1642 by Wilhelm Schickard.
@annie4424
@annie4424 Жыл бұрын
As an elementary STEM teacher, I think I need to make one of these for my students to use. The fact that the answer window is so tiny is actually awesome for multiple students to use it for the same problem.
@kodirovsshik
@kodirovsshik Жыл бұрын
Alan Turing has been really quiet since the parker machine dropped
@DasGanon
@DasGanon Жыл бұрын
Adding new meaning to "What tree has the best logs?"
@neilbarnes3557
@neilbarnes3557 Жыл бұрын
The one with square roots, obviously.
@GTwinn
@GTwinn Жыл бұрын
Matt: needs a computer to work out 9*5 Also Matt: 2024 is the 400th anniversary of 1614 Yes, this tracks
@theadamabrams
@theadamabrams Жыл бұрын
Wonderfully on-brand, yes :) According to his comment in other thread, Matt was thinking of the fact that _Arithmetica Logarithmica,_ the first great table for log₁₀, was published in 1624.
@bunnyrape
@bunnyrape Жыл бұрын
Parkerversary
@servvo
@servvo 10 ай бұрын
it's the fact that he didn't realise this in the writing, recording, or editing stages 😂
@mscha
@mscha Жыл бұрын
What I'm worried about, is Matt's increasingly parallelogram-shaped bookcase.
@CaraesNaur
@CaraesNaur Жыл бұрын
He must be disappointed that it isn't becoming a rhombus.
@Zraknul
@Zraknul 10 ай бұрын
If it's Ikea, it's a design choice to change shape slowly.
@AlRoderick
@AlRoderick Жыл бұрын
The way that 20th century mechanical computers did multiplication was really simple and clever. They used the formula for a line Y=MX. Inside the machine is a flat grid, you have a sliding input along the bottom for x that has a perpendicular track going straight up riding along and a rotating track that's centered around the origin, it has its slope set by a vertical sliding input at x = 1. Those two tracks constrain a pin that would always be at the intersection point of the two input tracks, and there'd be a third horizontal track that would be pushed up or down to read out the y value, and that's your answer. You had to know in advance what range of values you had to work with, but you could multiply any of the inputs or outputs by a constant using a gear ratio to force it into the right range.
@rerere284
@rerere284 Жыл бұрын
ooh that sounds like the mechanical equivalent of a nomogram! neat
@DavidBeaumont
@DavidBeaumont Жыл бұрын
You could embed a small magnet in each input cog and on the background to hold it in its neutral position while other cogs are turned.
@becauseimafan
@becauseimafan Жыл бұрын
Oooh, use magnets, I like this idea a lot!! 😁
@dojelnotmyrealname4018
@dojelnotmyrealname4018 Жыл бұрын
Alternatively, use a weak coil spring. Same idea just a lot cheaper and works on non-ferro materials (like plastic).
@Pystro
@Pystro 11 ай бұрын
All it would really take is for the dials to be asymmetric, so that gravity keeps them in the disengaged position.
@zaffyr
@zaffyr Жыл бұрын
making a log table using a tree is pure genius
@CaraesNaur
@CaraesNaur Жыл бұрын
Ahem, log tree.
@andrewsutherland7913
@andrewsutherland7913 Жыл бұрын
@@CaraesNaur It is puns like that which make me wish I could subscribe to Patreon to NOT support Matt
@PJRye
@PJRye Жыл бұрын
The alternate table is what I was taught as the "times table" in primary school. What is relevant is that the first computer I ever used, the IBM1620 (early 1960's computer, used in 1968) employed decimal, not binary arithmetic, and did its multiplication using a times table - in 100 2-digit decimal memory locations 200 to 399, I recall.
@rewindoflow
@rewindoflow Жыл бұрын
Mechanical computing is such a fascinating area! I have a small collection of mechanical calculators, including a fully automatic four function one that I'm restoring. The amount of engineering effort and ingenuity that wen't into those things is amazing, but so it the sheer variety of methods of operation. For example, some machines do subtraction via a reverse of the addition mechanism, but some do it via 9's-complement which means they can add and subtract with the same mechanism! There's also a relevant example to this video which is the MADAS Millionaire, which uses a special kind of lookup table to do "single-operation" multiplication. That's not the mention the hook-and-crook slide adders, the ingenious ways of doing various operations on the comptometer (once the biggest educator in the UK), and even "Consul, the Educated Monkey"! And all that is just 'digital' calculators, not to mention all the analogue calculating mechanisms around (which made their way into all sorts of places, like WW2 bombing computers, and automatic gearboxes).
@Apoque
@Apoque Жыл бұрын
The derivation of the math function he used seems very similar to a notion I've heard about in computer science called "Perfect Hashing" because really, what I'm seeing is that what he wants is very similar. Both are given a set (all pairs of base-10 digits) to find a function that spreads them into distinct buckets with no collisions.
@rosuav
@rosuav Жыл бұрын
8:17 It makes good sense for the multiplicative identity 1 to translate into the additive identity 0. Saves them duplicating entries.
@lightninbolt986
@lightninbolt986 Жыл бұрын
Mom can we have a computer? No, we have a computer at home Computer at home:
@opensocietyenjoyer
@opensocietyenjoyer Жыл бұрын
most original joke you've ever written. and holy moly, how specific this joke is, like there is no way to write this exact same joke about literally anything
@papeleradereciclaje4375
@papeleradereciclaje4375 Жыл бұрын
Frankly, I would have loved to get something like this as a child
@asicdathens
@asicdathens Жыл бұрын
I did multiplication with logic gates (2 8bit numbers) when I learned how full / half binary adders worked. I designed my own calculator (terribly inneficient) to do the 4 basic calculation
@otteydw
@otteydw Жыл бұрын
That Christmas tree card seems like something that could be used in an Exit "escape room in a box" puzzle!
@82melmar
@82melmar Жыл бұрын
You need to make a Hitchhiker's Guide edition of the xmas card where if you multiply 6 by 9 it reads 42.
@medic2310
@medic2310 Жыл бұрын
This video deserves reCOGnition...
@_Ari_B
@_Ari_B Жыл бұрын
reCOGNITION!
@dino2808
@dino2808 Жыл бұрын
yes! ive been looking for this everywhere for a year since i heard that "Z_(p-1) with addition is isomorphic to Z_p - {0} with multiplication" in my group theory class for some values of p. that made me think that there had to be a method to multiply integers through addition that could be efficient for computers? and i found (almost) exactly this and built some "paperputers" like yours. thank you for the video!
@champnessjack1154
@champnessjack1154 Жыл бұрын
This method should be taught in schools everywhere, with the two tables provided on pieces of cloth that must be flattened out, repeatedly, to read, but with the option given that it's acceptable to memorize the results, should you find that, umm, a little bit faster.
@_Mute_
@_Mute_ Жыл бұрын
My first thought is the lookup table could be folded up into a n-dimensional array where n is the number of primes you include. A dimension for 2, 3, 5, 7, 11, etc.
@filipsperl
@filipsperl Жыл бұрын
That's pretty much it, but it's then compressed to 1D as compact as possible
@amarissimus29
@amarissimus29 11 ай бұрын
Oh man... this is why I love this channel. You've got a megaminx, a mirror cube and a fluctuation cube on your shelf. Just as I do, right behind me, among a billion others. Makes me feel a little less stupid as I try to keep up with your explanations. Thanks for all your work. Cripes my megaminx is dusty... can't have that.
@zacharyoleksy1804
@zacharyoleksy1804 Жыл бұрын
Finally, we have it. PC2
@lvn5609
@lvn5609 Жыл бұрын
And PC stands for Parker Computer
@Houshalter
@Houshalter Жыл бұрын
Before logarithms people did a similar trick to simplify multiplication to addition by using a lookup table for squaring numbers. Used since the Babylonians. a*b = ((a +b)^2 - a^2 - b^2)/2
@zygoloid
@zygoloid Жыл бұрын
When multiplying similar numbers (especially when they differ by an even number) I like to use ab = ((a+b)/2)² - ((a-b)/2)². Eg, 77 x 81 = 79² - 2² = (80² - 80 - 79) - 4 = 6237.
@flatfingertuning727
@flatfingertuning727 Жыл бұрын
@@zygoloid Yeah, I found the cosine-squared approach a bit odd, when a table of (a/2)² works more simply..
@PhilR0gers
@PhilR0gers Жыл бұрын
I did multiplication at school using log tables, so it's all relatively familiar stuff. Matt's Christmas Tree is a variant of the slide rule, but with fixed cursors (baubles)
@Mikumikku
@Mikumikku Жыл бұрын
not sure if anyone had the same thought, but at 12:00, the second grid perfectly overlaps the left grid if you rotate it 180 degrees. instead of only fitting the first row of the second grid into empty spaces, you could do it with all the rows
@briannussbaum9513
@briannussbaum9513 11 ай бұрын
Yes! That was my thought too!
@AlexSh789
@AlexSh789 Жыл бұрын
6:13 - If logs came around in 1614, then wouldn't 2024 be the 410th anniversary, not the 400th?
@standupmaths
@standupmaths Жыл бұрын
Good point! My brain confused it with the 1624 publishing of Arithmetica Logarithmica, the first great log table book. I’ll add it to the corrections.
@ilogik999
@ilogik999 Жыл бұрын
@@standupmathsi just assumed you thought it was 2014. 2024 doesn't sound real :)
@zygoloid
@zygoloid Жыл бұрын
It's a Parker Quatercentenary.
@jpaugh64
@jpaugh64 Жыл бұрын
Wait, what about calendar corrections which happened in Europe right around that time.
@AlexSh789
@AlexSh789 Жыл бұрын
@@jpaugh64 - The adoption of the Gregorian calendar yielded an adjustment of about 10~11 days in the 17th Century, not 10 years.
@Cats-TM
@Cats-TM Жыл бұрын
The difference engine! I have actually seen the actual build of it in real life at the Science Museum in London. It is decently large but it probably works quite well.
@AndyLundell
@AndyLundell Жыл бұрын
Although when we say Babbage designed a "Turing complete" computer, we mean his "Analytical engine", which was never built.
@kentslocum
@kentslocum 11 ай бұрын
The reveal of the cog-puter's microscopic display had me in stitches. 😂
@Bro-x3o
@Bro-x3o 3 ай бұрын
It would not be a Matt Parker video without terrible python code
@paddythomas7416
@paddythomas7416 Жыл бұрын
I hate to be that guy but…. Babbage built part of his difference engine and it was used to calculate log tables and tide times, but never completed it, but it would be described as a mechanical calculator. His analytical engine was something he designed but never built and it was the first design of a programmable computer, inspired by Jaquard and his looms. The analytical engine would be more akin to what we call a computer today, whereas his difference engine (and your nifty machine) would be a calculator not a computer, and I personally prefer the term “cogulator” as opposed to “cogputer”
@EebstertheGreat
@EebstertheGreat Жыл бұрын
He completed two difference engines. Only one of them (the one the government actually wanted) was incomplete. Also, a "computer" is not necessarily a general-purpose computer. In fact, no such mechanical computer has _ever_ been built. Rather, the term "mechanical computer" refers to calculating devices like this (mostly adding machines).
@leodarkk
@leodarkk 4 ай бұрын
It's an important distinction, because the first calculator is from 1642, designed by Pascal, Percy comes 200 years later, so Matt did get the history of computer science largely wrong. OK, I am late to the party.
@HerbertLandei
@HerbertLandei Жыл бұрын
Why not using integer logarithms? As the biggest result is 9*9 = 81, we can work modulo the next prime, which is 83. 83 has 2 as a primitive root, so you just need to tabulate all values of 2^x mod 83. So, for 5*9 you find that 2^27 = 5, and 2^62 = 9, you add 27+62 = 7 (mod 83) and 2^7 = 45 -> your solution.
@jan_kulawa
@jan_kulawa Жыл бұрын
the idea is that Percy's method (and its adaptation by Matt) is supposed to compute products with a very rudimentary mechanical computer, so it has to exploit number theorerical properties of integers which can easily be encoded and manipulated by such a machine. modular exponentiation surely doesn't fit the bill, though indeed it is more simple and elegant in a purely mathematically setting
@justforplaylists
@justforplaylists Жыл бұрын
Would it work to use 79 instead of 83, and replace 9x with 78x mod 79? I think you could get the largest gear a bit smaller that way.
@sbares
@sbares Жыл бұрын
@@jan_kulawa The computer would still only be doing addition and table lookups, just like with Percy's method. You only need exponentiation to create the table.
@jonidcrushfire
@jonidcrushfire Жыл бұрын
My goodness, the lengths you go to do math in the most entertaining and abnormal method possible is an inspiration to us all. Love the tree! Love the cogputer!
@yobgodababua1862
@yobgodababua1862 Жыл бұрын
One "easy" improvement to help with the alignment problem would be to have a second large cog uncoupled from the output cog with every subsidiary cog fully toothed to that gear so that they are always in sync.
@JohnDlugosz
@JohnDlugosz Жыл бұрын
18:00 The way the cog has 15 teeth that engage reminds me of production mechanical calculators where entering a digit with a button would have a similar effect -- either as you enter it (like yours), as with the famous Curta, or setting up the mechanism so that when the crack it turned it issues a linear gear with the right number of teeth. The printer or readout often uses a similar mechanism, too.
@Reddles37
@Reddles37 Жыл бұрын
For the tree you should have just made 1 a card with ~0 thickness, so you can multiply by 1 by adding the card to the stack without changing the height.
@schwingedeshaehers
@schwingedeshaehers Жыл бұрын
That doesn't work, as the hight isn't the number itself. (in his version)
@thisguyispeculiar
@thisguyispeculiar Жыл бұрын
Stuff like this makes me even more interested in computation algorithms.
@timblack7828
@timblack7828 Жыл бұрын
Matt, you were so close to getting each number to appear at its own index (like you discuss at 15:10)! You could replace each value x in your first lookup table with 42 - x. That way 1 would map to 0. You would also replace each index z in the second lookup table with 84 - z. This works because x + y = z if and only if (42 - x) + (42 - y) = 84 - z. As a bonus, your second lookup table would only have to go up to 82 instead of 84. And, your outer wheels would only need a total of 166 instead of your current 254 (though Percy still wins in this regard; their design would only need 141 total teeth on the outer wheels). With this change: 0-9 COGPUTER 0 cog: 41 teeth 1 cog: 0 teeth 2 cog: 1 teeth 3 cog: 15 teeth 4 cog: 2 teeth 5 cog: 34 teeth 6 cog: 16 teeth 7 cog: 24 teeth 8 cog: 3 teeth 9 cog: 30 teeth LABELS ON MIDDLE COG: CE=01, 02, 04, 08, 16, 32, 64, --, --, --, --, --, --, --, --, 03, 06, 12, 24, 48, --, --, --, --, 07, 14, 28, 56, --, --, 09, 18, 36, 72, 05, 10, 20, 40, --, 21, 42, 00, 00, 00, 00, 27, 54, --, 49, 15, 30, --, --, --, 63, --, 00, 00, 35, --, 81, --, --, --, 45, 00, --, --, 25, --, --, 00, --, --, --, 00, --, --, --, --, --, --, 00 (This scheme has CE and 1 in the same place, which you may have understandably chosen to avoid, but it also seems appropriate to have the multiplicative identity also be the "clear" value)
@itssandman2u
@itssandman2u 11 ай бұрын
No way! I love Mark's blog! I've been following him for a year or so now. Wild to see him featured in a video.
@RedHair651
@RedHair651 Жыл бұрын
"Now THAT's a log table" needs to be a t-shirt
@AnselmWiercioch
@AnselmWiercioch Жыл бұрын
Is it just me or is Percy's method more work than just having a multiplication table with the answers on it and directly looking them up?
@DavidBeaumont
@DavidBeaumont Жыл бұрын
It is for a human, but not for a machine made of cogs and rods etc.
@ProminentCorpse
@ProminentCorpse Жыл бұрын
but that's no fun!
@3snoW_
@3snoW_ Жыл бұрын
I assume Percy would want to have several 1 digit multipliers and combine them to have a multiple digit multiplier. Which would also be why the entries for 0 would be important to include.
@aikumaDK
@aikumaDK Жыл бұрын
Maybe he wanted a working proof of concept before scaling it to the point where multiplication tables were unwieldy.
@cephelos1098
@cephelos1098 Жыл бұрын
This is your brain when you learn math without learning anything about computation
@Kazutoification
@Kazutoification Жыл бұрын
Move aside Parker Square, here comes the Parker Cog!
@GilesBathgate
@GilesBathgate Жыл бұрын
I was studying the attention mechanisim in machine learning and was struggling to find the equivalence between Additive Attention, and Dot Product attention. Your simple formula which reminds us that: A*B = f(g(A) + g(B)) finally led to the aha! moment, Thanks.
@AdminBenni
@AdminBenni Жыл бұрын
I'm tempted to call this the Parker 'Puter but I think I'll have to settle for the Parker Cogputer, since with his now advanced levels "terrible python code", Matt's bound to create his own computer one of these days, operating system and all!
@name_o_person
@name_o_person Жыл бұрын
I love this channel! Not only is the content informative, it's delivered with comedy, and the comments are always gold. P.S. i first came here to mention laughing hard enough over the Self on the shelf, that my coworkers checked in on me.
@Minihood31770
@Minihood31770 11 ай бұрын
It's like a significantly worse version of a mechanical calculator. Send it to Chris Staecker to review!
@coastalsandwich
@coastalsandwich 11 ай бұрын
Merry Christmas Matt, thanks hugely for your part in getting me back into Maths this year after shunning it in my youth! Ive had such fun messing about with my own silly equations and tricks, long may your channel continue!
@mduvigneaud
@mduvigneaud Жыл бұрын
Fascinating! Matt, that is awesome! A while back I started writing a Reed-Solomon coding RAID driver... sadly I never finished it though: I got distracted with real work. In it addition and subtraction are just XOR but multiplication and division are 2 log table lookups, addition or subtraction of those respectively, then an inverse log table lookup.
@W.M.-
@W.M.- 10 ай бұрын
This is brilliant, I love how much effort goes into his gags
@AliceYobby
@AliceYobby Жыл бұрын
It would be incredible if you could make a video on the statistical claims of past chess grandmaster Kramnik accusing current chess grandmaster and second best player in the world Hikaru Nakamura of cheating, like you did in the Dream probability stuff. Many people have made blog posts about Kramnik’s poor methods but there’s a lot of confusion everywhere and a nice, simple explanation of the statistics involved would be incredible!!!
@ErikScott128
@ErikScott128 Жыл бұрын
I'm a sucker for mechanical computer designs. Some cranks, detents, and spring-ball plungers would make that cogputer actually quite usable. Basically, instead of everything being free-spinning, a detent would hold each input wheel in an unengaged position, and detents (one detent for each tooth/position) would hold the center wheel in position. When turning an input wheel, you could click the center wheel through the requisite number of positions and you wouldn't have to worry about the subtalties of engagement and disengagement. Adding cranks to the input and reset wheels will help you track when you do a full turn and simply make it more usable.
@manudude02
@manudude02 Жыл бұрын
So many lookup tables just to avoid a couple of additions! I prefer the name Cogulator to describe the device.
@zecuse
@zecuse Жыл бұрын
An extremely elaborate way to show that addition is commutative and infer that multiplication is too.
@robo3007
@robo3007 11 ай бұрын
By far my favourite multiplication shortcut is the "finger method". 1. Give each finger on both hands a number from 6 to 10, starting from the thumb and counting outwards. 2. With your hands face down, place the finger with the number being multiplied on your left hand on top of the finger with the number you wish to multiply it with on your right hand. This separates your fingers into those "in the loop" ( the two overlapping fingers and everything in between ) and those "out of the loop" ( the rest ). 3. Multiply the number of "in the loop" fingers by 10 to get the tens digit. 4. Multiply the number of "out of the loop" fingers on your left hand with the number of "out of the loop" fingers on your right hand. Add this to the result from step 3 to get the units digit. 5. That's your answer. The only drawback to this method is that it requires you to memorise your first five times tables, but everyone should already have those memorised from school! Also please let me know if anyone knows exactly why this works.
@PopeLando
@PopeLando Жыл бұрын
I'm just watching this and with the first problem I was literally saying "36" and looking to see if the 3 wheel or the 6 wheel were turning. Then he shows "45" and I 🤦‍♂️
@andrewmullen4003
@andrewmullen4003 Жыл бұрын
this went straight over my head, think I'll have to watch it again.
@jan_kulawa
@jan_kulawa Жыл бұрын
tricking a tree into doing multiplication defines a whole new paradigm of computing. we should have Parker machines instead of Turing machines in our theoretical computer science curriculum
@kekke2000
@kekke2000 Жыл бұрын
Are you going to cover the Kramnik vs Hikaru Chess cheating accusations? It has a lot of stats and probabilities with elo involved.
@RandalLSchwartz
@RandalLSchwartz 10 ай бұрын
I know and have worked with Mark! Smart dude! Wrote a brilliant book on functional programming with Perl, that I still reread occasionally for interesting tricks.
@buzz.b
@buzz.b 6 ай бұрын
Matt's voice going ever more high pitched with excitement as the presents align with the correct results is fantastic.
@GlennBrockett
@GlennBrockett 11 ай бұрын
A Yule Log table to be more appropriate.
@filipsperl
@filipsperl Жыл бұрын
I've tried making other lookup tables by hand with this technique, but when I did multiplication of 0-19, it wasn't as nice. That is, if there isn't any other better 'packing' then the last result (19×19for me) ending up on index #140. Stipl better then a regular look up table that would have 20^2 outcomes, ~half of that if you abandon symmetry. A much easier task was figuring out multiplication of numbers 11-19, since no numbers are co-prime and therefore, the patterns don't differ when you switch the code for any two numbers in the first table. With the first number at index #0, it's highest index is #130. So, still not very effective when you could just make a much easier cogputer with 81 outcomes.
@widgity
@widgity Жыл бұрын
This would go nicely with a rotary phone style dial!
@gnramires
@gnramires Жыл бұрын
You might improve this by adding a "click" in place in the correct alignment of the output (can be achieved with a spring-loaded rounded rod resting on the main cog, for example). Wonderful, merry Christmas :)
@richtw
@richtw Жыл бұрын
Surprised not to see any mention of the "difference of two squares" method for multiplying. Basic idea is: (a+b)^2 = a^2 + b^2 + 2ab ---> (eqn 1) (a-b)^2 = a^2 + b^2 - 2ab ---> (eqn 2) (eqn 1) - (eqn 2) => 4ab = (a+b)^2 - (a-b)^2 So define f(x) = floor(x^2 / 4) Then a*b = f(a+b) - f(a-b) (it can be shown that the remainder after dividing by 4 always cancels out when calculating the difference, hence we can discard it completely) This is how they used to do fast multiplication on computers in the 80s. Replace the pre-generated table of squares-divided-by-4 with a big book of tables, and you could do it by hand, as long as you don't mind doing subtraction!
@Ilandris505
@Ilandris505 Жыл бұрын
To improve the cogputer: You could lift the cogs up to disengage them (with a system that clicks them into off and on positions). So that you can reset and use the cogputer eseaier. Perhaps there could be markings on all the interactor wheels (including the main cog) to show where the neutral positions are. A mechanical magnifier so the output can be bigger (The main cog will be further back from the first improvement giving some space for this) Otherwise, I absolutely love the Cogputer I fully expect these never to be implemented but I had to get my ideas out there
@Poutrel
@Poutrel 11 ай бұрын
I applaud the dedication and amount of effort just for the pun at 21:30
@CyanPhoenix_
@CyanPhoenix_ Жыл бұрын
to fix the issue of the erroneous cog engaging, you could set it up so that the segment of each cog with teeth is pointed directly away from the center cog when the number on the front is at the 12 o'clock position - that way you can easily just keep all the numbers right way up and just do one full rotation every time you use a number.
@SoulOfNemiss
@SoulOfNemiss Жыл бұрын
17:47 I think you said toward the end that the 9 cog has 15 dents but it's 12 as stated in the description :D Great stuff nonetheless had a lot of fun trying to recreate your table to put back the triangle of number together (01 02 04 up to 81) ( 05 10 20 up to 45) (07 14 up to 63) (even the 00 works) and seee those flying 25 35 and 49 (and three 00) and I wonder if you could try to minimise the space of those geometric shapes (while fitting the flying unit around) to find other minimal triangles
@agargamer6759
@agargamer6759 Жыл бұрын
The Christmas tree is worth it for the log table joke
@macronencer
@macronencer Жыл бұрын
When you mentioned the Christmas card on the podcast, I assumed it was the standard type of logarithm. Pleasantly surprised and entertained to discover there was a little more to it!
@hadz8671
@hadz8671 Жыл бұрын
I have an old book of maths tables. At the back is a table of "quarter-squares" which allows multiplication through the identity ab = [(a+b)^2]/4 - [(a-b)^2]/4
@oyahfftlisawsome
@oyahfftlisawsome Жыл бұрын
"This could be improved dramatically" the title of everything Matt attempts (but he attempts while most would not)
@dylanbreglio
@dylanbreglio Жыл бұрын
I love how proud Matt is of his cogputer
@BrianSpurrier
@BrianSpurrier Жыл бұрын
Following Percy Ludgate’s method , I made tables for 1 digit multiplication up to base 12. With the rule that 1 must have an index of zero, the lengths of the second tables, which I’m calling the first 12 “Irish Numbers” are: 3,7,15,23,37,41, 59,81,101,121,171,195 I guess technically the zeroth Irish Number could be 1, but that would just be two one long tables telling you that zero times zero is, in fact, zero, and it would sort of break our rule about one having index zero
@mattymerr701
@mattymerr701 11 ай бұрын
You could add detents to the cogs to make them need purpose to start turning and to have them lock in to position where they wont interfere.
@kentslocum
@kentslocum 11 ай бұрын
Who needs calculators, when we have Christmas trees?
@petevenuti7355
@petevenuti7355 11 ай бұрын
The professions of comedian and mathematician are inherently mutually exclusive, with one notable exception, Matt Parker.
@Khaim.m
@Khaim.m Жыл бұрын
8:54 No, you only have to make G(4)=2 if you're determined to not repeat any values in the F lookup table. Which seems like you'd want but actually I suspect you could do better by repeating some values.
@wyldanimal2
@wyldanimal2 11 ай бұрын
@18:00 to @18:15 Just need a ball and spring and a small detent on the back of each COG, to keep all of the COGs in their Neutral positions.
@markwrede8878
@markwrede8878 Жыл бұрын
Under multiplication, the number line can be collapsed into some finite number of slopes given as sequential differences among primes, however, the array of slopes is not produced in sequential rising order.
@valdemar91
@valdemar91 Жыл бұрын
Mat: "... this tree can do multiplication. Now THAT is a Log table!" Me screaming out loud (completely alone!): "ITS A YULE LOG!"
@cmelonwheels
@cmelonwheels Жыл бұрын
11:42 "Actually we can imagine this in the third dimension" is, I suspect, one of those things that's tremendously illustrative to some people and tremendously confusing to others lol. I find it really helpful though!
@charliehuggins3773
@charliehuggins3773 Жыл бұрын
Matt I was eating a donut when you called the tree a log table I spat out most of the donut you owe me a donut goddamnit stupid stupid intelligent joke
@JDB2552
@JDB2552 Жыл бұрын
Matt, if you title your next book Terrible Python Code, you’ve probably already written it.
@KelniusTV
@KelniusTV 11 ай бұрын
I found a sudoku puzzle book in an op shop for cheap and I bought it, but something about it intrigued me, and surely it has some interesting mathematics. See, the book is organized into "easy", "medium" and "difficult" puzzles and they do tend to be harder as you go along. Newspapers also often have both an easy and hard sudoku puzzle, if they provide it. And I was wondering how the hell they do that. I thought it was just "the easy ones have more numbers", and whilst that is often the case with the easiest puzzles, it isn't always with the harder ones (in my book, anyway). Some of the "medium" puzzles have as few as 27 clue numbers, and the "difficult" puzzles have as many as 32. So, how the hell do they make them "harder"? I'm sure the maths of sudoku must be well understood, if we can make them so easily, but I couldn't find it online.
@mathyeti
@mathyeti Ай бұрын
Give the puzzles to 10 (e,g.) people and record the median time taken.
@KelniusTV
@KelniusTV Ай бұрын
@mathyeti that seems unlikely, just based on the economics alone - if it takes 10 (or more) people to write and grade a sudoku, but takes one person to write a crossword, newspapers wouldn't bother, if you had to pay 10 salaries. I am sure there's mathematics behind how to grade them, but I'm not mathematically inclined enough to see it.
@mr_rede_de_stone916
@mr_rede_de_stone916 Жыл бұрын
The christmas tree idea was sooooo good!!
@bosslca9630
@bosslca9630 Жыл бұрын
Ok, hear me out- a Yule Log Table! It is a single-use log that you set on fire for X+Y minutes, you then measure the Yule Log Table by some metric (weight? width? Discoloration?) and using that measurement you reference a table which gives you the X*Y= result. You can roast chestnuts and drink hot cocoa while doing multiplication!
@MegaTeXHaPb
@MegaTeXHaPb Жыл бұрын
Great video! Thank you! I have an idea how to improve your cogputer, stabilize cogs and prevent them from sudden rotations. You can add some metal pieces close to lover point of cogs, so they will become unbalanced and will try to turn this side down. It will become like a toy named Weeble (don't know correct English name for Russian "Неваляшка", but this seems to be closest). Or you can even use small thin magnets to stick cogs in their positions.
@Veptis
@Veptis 18 сағат бұрын
Let's remember Konrad Zuse. Building a mechanical computer the size of half a building.
@Marconius6
@Marconius6 Жыл бұрын
Every day, Matt is closer to becoming an Adeptus Mechanicus tech-priest... look, he's using cogitators now!
@AnnnaKathryn
@AnnnaKathryn Жыл бұрын
Wish I could go to pi day 2024, but travel simply costs too much. Best of luck to everyone attending
How many ways can you join regular pentagons?
24:02
Stand-up Maths
Рет қаралды 248 М.
Percent math
0:39
Elaa_Eduworks
Рет қаралды 3,5 МЛН
Players vs Pitch 🤯
00:26
LE FOOT EN VIDÉO
Рет қаралды 134 МЛН
When u fight over the armrest
00:41
Adam W
Рет қаралды 31 МЛН
FOREVER BUNNY
00:14
Natan por Aí
Рет қаралды 27 МЛН
Why are the ice shelves collapsing?
18:58
Stand-up Maths
Рет қаралды 174 М.
Why does Vegas have its own value of pi?
23:29
Stand-up Maths
Рет қаралды 839 М.
This Should Be Impossible...
23:05
Alec Steele
Рет қаралды 42 М.
New divisibility rule! (30,000 of them)
26:51
Stand-up Maths
Рет қаралды 304 М.
Chicago has a problem until the year 2083.
20:52
Stand-up Maths
Рет қаралды 614 М.
The Greatest Legal Casino Heist in History
1:15:14
Run The Numbers
Рет қаралды 2,6 МЛН
The Minecraft boat-drop mystery
16:41
Stand-up Maths
Рет қаралды 1,1 МЛН
Something Strange Happens When You Keep Squaring
33:06
Veritasium
Рет қаралды 7 МЛН
I run untested, viewer-submitted code on my 500-LED christmas tree.
45:17