A physics student wants to build a spring gun that when aimed horizontally will give a 35.0- g ball an initial acceleration of 'g' by releasing a spring that has been compressed 18.0 cm. What is the velocity of the ball as it emerges from the gun?