A 1.75-kg wooden block rests on a table over a large hole as in the figure below. A 4.60-g bullet with an initial velocity vi is fired upward into the bottom of the block and remains in the block after the collision. The block and bullet rise to a maximum height of 24.0 cm.

Calculate the initial velocity of the bullet from the information provided. (Let up be the positive direction.)