Lurker News
I'm reading Petzold's Code [1], and it dawned on me that I didn't understand logic gates intuitively until now. I took a Computer Architecture course back in college, and I understood what logic gates meant in boolean algebra but not empirically. Petzold clarified this for me by going from the empirical to the theoretical using a lightbulb, a battery, wires, and relays (which he introduces when he talks about the telegraph as a way to amplify a signal).

Another concept is the relationship between current, voltage, and resistance. For example, I always failed to understand why longer wires mean more resistance while thicker wires mean less resistance.
[1]: https://www.codehiddenlanguage.com/

Comments (913) 203 threads

Show all comments

Showing thread 16 of 203

MichaelDickens3 replies#
What an algebra equation is. I could solve linear equations, quadratic equations, and systems of equations by adding/subtracting/multiplying/dividing both sides of the equation and by adding two equations together. But I didn't know why you were allowed to do any of those things, or what else might be allowed. Are you allowed to square both sides? Raise both sides to a power?

It wasn't until maybe my third year of algebra that I realized an equation means both sides of the equation are equal to each other, which means you can perform any operation at all to both sides, and the result will still be equal.

sgdpk#
This is a great example! I was fortunate enough that my father explained it to me when I was in school. An equation is like a balanced scale: whatever you do to one side, you must do to the other, to keep things balanced.

I still remember that "click".

ipnon1 reply#
It was long after I graduated and passed symbolic logic that I realized a proof is the “solution” of an equation using logical operators instead of algebraic ones. Proof writing then becomes following branches on the tree of textbook knowledge to new leaves. I envy those who grok this when they’re kids.
kamaal#
Can you elaborate more on this?
xigoi#
Just be a little careful: when solving an equation, you're usually asking when the sides are equal, not asserting that they are. So the implication has to go in the opposite order.