12/ Now, a small complication. Let's say that I want to multiple 123 by 2. This is easy. 123 x 2 = 123 + 123. I clear the outputs, set the sliders, crank it once, crank it twice. But what if I want to calculate 123 x 20?
-
-
22/ 17 / 4 = 4 (the opcount) remainder 1 (the accumulator).
Show this thread -
23/ Let's divide 100 / 3. Clear the accumulator and opcount. Crank in 100. Pull handle to subtract, adjust slides, subtract out 0. Acc = 100, op = 0. Set sliders to 3. So...we're going to have to crank this 33 times, right? No. Remember the order-of-magnitude ring.
Show this thread -
24/ First, adjust the opcount direction to reverse. Adjust the order-of-magnitude ring from 1 to 2 (so each crank is 10 ^ (2-1) = 10 operations). Crank. Accumulator = 70, op = 10 Crank. Acc = 40, op = 20 Crank. Acc = 10, op = 30 Adjust ring to 1 (10^(1-1) = 1)
Show this thread -
25/ Crank. Acc = 7, op = 31 Crank. Acc = 4, op = 32 Crank. Acc = 1, op = 33 100 / 3 = 33 remainder 1.
Show this thread -
26/ What happens if we weren't paying close attention and cranked one time too many? small brain: we've got the wrong answer medium brain: ...but we can fix it! Push the crank back to addition mode. Crank once We UNDO the extra subtraction, i.e. we UNDO both acc AND opcount
Show this thread -
27/ galaxy brain: but what EXACTLY happened when we subtracted 3 from 1? Can we learn something interesting about math? Answer: YES, WE CAN ! But I'm going to work on fiction writing now. I'll talk about 10s complement math later. Also, how all this reminds me of Hoon.
Show this thread
End of conversation
New conversation -
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.