How to Calculate Spring Compression for a Direct Hit in a Projectile Game?

  • Thread starter Thread starter azure kitsune
  • Start date Start date
  • Tags Tags
    Projectile Spring
AI Thread Summary
To calculate the spring compression needed for a direct hit in a projectile game, the horizontal distance the marble travels (d) is directly proportional to the spring compression (x). The equation derived shows that d can be expressed as a function of x, spring constant (k), mass (m), and the height of the table (h). A key point in the discussion is that the marble's motion is horizontal, meaning gravity does not affect the horizontal distance traveled. The participants also clarify that the time of flight remains constant regardless of the initial speed, simplifying the calculations. Understanding the relationship between spring compression and distance is crucial for achieving accurate shots in the game.
azure kitsune
Messages
63
Reaction score
0

Homework Statement



Two children are playing a game in which they try to hit a small box on the floor with a marble fired from a spring-loaded gun that is mounted on a table. The target box is 2.20 m horizontally from the edge of the table. Bobby compresses the spring 1.10 cm, but the center of the marble falls 27.0 cm short of the center of the box. How far should Rhoda compress the spring to score a direct hit? Assume that neither the spring or the ball encounters friction in the gun.

Homework Equations



Elastic potential energy = 1/2 \cdot kx^2

(kinematics equations)

The Attempt at a Solution



Let x be the distance that the person compresses the spring. Let d be the horizontal distance the marble travels from the end of the table. (So we are trying to find an x such that d = 2.20 m).

Through a lot of crazy math, involving projectile motion, breaking into x,y components, conservation of energy, etc., I ended up with:

d = x * \sqrt{ \dfrac{ 2 k \Delta y } { m g } } (where k = spring constant, delta y = height of the table, m = mass of object, g = gravitational acceleration)

The important thing about that result was that d and x are directly proportional. Since they give you one pair of (x,d), I could find the constant of proportionality to solve that d = 2.20 m when x = 1.25 cm.

I was wondering if there was any easier way to show that x and d were directly proportional?
 
Physics news on Phys.org
EDIT: Disregard this post. I didn't read the question clearly.

One problem I see with your equation is: d should not depend on either the height of the table or on gravity, since the marble is moving on a level horizontal surface.

Just what type of force is causing the marble to come to a stop?
 
Last edited:
azure kitsune said:

Homework Statement



Two children are playing a game in which they try to hit a small box on the floor with a marble fired from a spring-loaded gun that is mounted on a table. The target box is 2.20 m horizontally from the edge of the table. Bobby compresses the spring 1.10 cm, but the center of the marble falls 27.0 cm short of the center of the box. How far should Rhoda compress the spring to score a direct hit? Assume that neither the spring or the ball encounters friction in the gun.

Homework Equations



Elastic potential energy = 1/2 \cdot kx^2

(kinematics equations)

The Attempt at a Solution



Let x be the distance that the person compresses the spring. Let d be the horizontal distance the marble travels from the end of the table. (So we are trying to find an x such that d = 2.20 m).

Through a lot of crazy math, involving projectile motion, breaking into x,y components, conservation of energy, etc., I ended up with:

d = x * \sqrt{ \dfrac{ 2 k \Delta y } { m g } } (where k = spring constant, delta y = height of the table, m = mass of object, g = gravitational acceleration)

The important thing about that result was that d and x are directly proportional. Since they give you one pair of (x,d), I could find the constant of proportionality to solve that d = 2.20 m when x = 1.25 cm.

I was wondering if there was any easier way to show that x and d were directly proportional?

There is nothing to break into components. The initial velocity is horizontal, right?
The range is d=v*t (v=initial speed).
The time is constant, no matter what is the initial speed. (t=sqrt(2h/g); h-height of table, constant)

From conservation of energy, v= x*sqrt(k/m)
So d proportional to v prop to x or in full equations
d=v*t= x *sqrt(k/m) * sqrt(2h/g)
 
Wow, that's what I did, except it took me 1 1/2 page somehow, and then I couldn't understand what I wrote. Thanks for the help.
 
Kindly see the attached pdf. My attempt to solve it, is in it. I'm wondering if my solution is right. My idea is this: At any point of time, the ball may be assumed to be at an incline which is at an angle of θ(kindly see both the pics in the pdf file). The value of θ will continuously change and so will the value of friction. I'm not able to figure out, why my solution is wrong, if it is wrong .
TL;DR Summary: I came across this question from a Sri Lankan A-level textbook. Question - An ice cube with a length of 10 cm is immersed in water at 0 °C. An observer observes the ice cube from the water, and it seems to be 7.75 cm long. If the refractive index of water is 4/3, find the height of the ice cube immersed in the water. I could not understand how the apparent height of the ice cube in the water depends on the height of the ice cube immersed in the water. Does anyone have an...
Back
Top