Question

A pencil, 15.7 cm long, is released from a vertical position with the eraser end resting on a table. The eraser does not slip. Treat the pencil like a uniform rod. What is the angular speed of the pencil just before it hits the table? What is the angular speed of the pencil when it makes a 30.0 degrees angle with the vertical?