Moment of Inertia and Angular Velocity
(Edit: "Angular Velocity" should read "Angular Acceleration". Looking for the wrong thing explains why I couldn't find it. I think I already answered the question myself after figuring out I was looking for the wrong term.)
As a pet project I'm working on a simple 2D physics engine. There's one problem: my physics is rather rusty.
Now I've given the object a moment of inertia (according to wikipedia: kg*m^2), and there are some forces working on the object (these objects work on different places of the object). I want to find out the angular acceleration.
For instance, let's say I have a shape of moment of inertia of 5.0 kg*m^2 (I'm not even sure if that's a realistic number, but it doesn't matter for the question. Now there's, say, a gravitational force of 9.81N working on the center of mass on the object, and a force of 20N upward, 2m left from the center of mass.
I believe the only force that is important for the angular velocity is the 20N upward (as the gravity, in this case, works on the center of mass and doesn't cause any angular velocity). This is equal I believe, for this purpose, to a 10N upward force that causes some angular acceleration.
So I'm left with a force (kg*m/s^2) and a moment of inertia (kg*m^2). And I just can't see how I'd get to angular acceleration (rad/s^2) from these two.
I think I'm missing something here... But what is it?
Okay, looking for the right names helped a lot, I think I understand now. The 10N force upwards is called a "torque" or "moment" (of course this relates to distance of the center of mass and the angle of the force). And then, the angular acceleration is simply the torque divided by the moment of inertia, so in this case that would be "a = T/I = 10/5.0 = 2 rad/s^2"
Am I right?
Thanks in advance