The angle of twist in a shaft can be determined by considering the angles of rotation at its two ends.