How to counter angular momentum with torque

It’s just some of the math behind it.