# The mass mp of the projectile is 5g, the mass of the spring is 7g and the spring constant is 1000N/m

Kinetic energy in a spring
I am building a spring launcher for an engineering project and need to calculate spring compression to achieve a projectile velocity of 4 m/s. The mass ${m}_{p}$ of the projectile is 5 g, the mass of the spring is 7 g and the spring constant is 1000 N/m.
Is it right to assume that initial potential energy in the spring = kinetic energy of the marble + kinetic energy of the spring at the point of release?
I can calculate the marble's kinetic energy easily enough using ${E}_{k}=\frac{1}{2}{m}_{p}{v}^{2}$. However, how would I calculate the spring's kinetic energy? One end is secured, while the other end would be traveling at the same speed as the marble. I think I would have to use integration somehow but not completely sure how to.
You can still ask an expert for help

• Questions are typically answered in as fast as 30 minutes

Solve your problem for the price of one coffee

• Math expert for every subject
• Pay only if we can solve it

Delfyxl
If the mass m of the spring is negligible compared with the mass M of the marble ($\left(m\ll M\right)$), it is safe to assume that almost all of the energy stored in the spring is converted to KE of the marble.
If the mass m of the real spring is not neglible it can be modelled as an effective mass of ${m}^{\ast }=\frac{1}{3}m$ on an ideal massless spring with the same spring constant. Then at the launch point the two masses have the same velocity, so the proportion of the energy stored in the compressed spring which is given to the projectile is $\frac{M}{M+{m}^{\ast }}$