A 0.02kg bullet collides with a 5.75kg pendulum. After the collision, the pair swings up to a maximum height of 0.386m. Determine the velocity of the bullet just before impact.