A 5 kg mass is thrown up with a velocity of 4 m/s from a height of 30 m onto a spring with a relaxed length of 10 m, and a constant of 400 N/m. What will the maximum compression of the spring be? What will the speed of the object be when the spring is compressed 0.3 m?

HERE'S MY WORK:

(V2^2)=(Vi)^2+2ad
0=16-19.6d
-16=-19.6d
d=0.816 m + 30 m = 30.816 meters above the ground

mgh = mgh + 1/2kx^2 = (5 kg)(9.8 m/s^2)(30.816) = 200x^2-49x+490

x=2.75 m

mgh=1/2kx^2+mgh+1/2mv^2
(5)(9.8)(30.186)=1/2(400)(0.3)^2+(5)(9.8)(9.7)+1/2(5v^2)

v=20.17 m/s

Is it correct?

yes.

I plugged in my value for x, but both sides of the equation had different values, so I think I have the wrong value for x. How do I solve 200x^2-49x+490?

use the quadratic equation. I didn't look at your work, but used energy relationships (Initial KE+ initial PE=springenergy- mgx where x is the compression. That was the same as your x, 2.75m ...if I didnt'make an error.

To determine whether your calculations are correct, let's break down the problem and go through the steps.

Step 1: Find the maximum compression of the spring.
The maximum compression of the spring occurs when the kinetic energy of the object is converted into potential energy stored in the spring. With this in mind, we can use the conservation of energy principle.

Gravitational potential energy (GPE) at height h = mgh
Initial kinetic energy (KE) = 1/2mv^2

From the equation you provided:
mgh = 1/2kx^2 + mgh + 1/2mv^2

It seems that there is an error in your calculation here. When calculating GPE on the left side of the equation, you inadvertently used the height above the ground rather than the height of the spring compression. Also, on the right side of the equation, you mistakenly included another term for GPE without a change in height. Let's correct these issues.

Corrected equation:
mgh = 1/2kx^2 + 1/2mv^2

Plugging in the values:
(5 kg)(9.8 m/s^2)(30 m) = 1/2(400 N/m)x^2 + 1/2(5 kg)v^2

Simplifying:
1470 = 200x^2 + 2.5v^2

Step 2: Find the maximum compression of the spring.
Unfortunately, your calculations did not include solving for the maximum compression of the spring. We need to find the value of x.

Let's assume that in the maximum compression state, the object is at rest (v = 0). Using this assumption, we can rewrite the equation as follows:

1470 = 200x^2 + 2.5(0)^2
1470 = 200x^2

Solving for x:
x^2 = 1470 / 200
x^2 = 7.35
x ≈ √7.35
x ≈ 2.71 m

Therefore, the maximum compression of the spring will be approximately 2.71 meters.

Step 3: Find the speed of the object when the spring is compressed 0.3 m.
Using the equation you provided:
mgh = 1/2kx^2 + mgh + 1/2mv^2

Let's substitute the given values for variables:
(5)(9.8)(30) = 1/2(400)(0.3)^2 + (5)(9.8)(30) + 1/2(5)v^2

Simplifying:
1470 = 1/2(400)(0.09) + 1470 + 2.5v^2
1470 = 20 + 1470 + 2.5v^2
2.5v^2 = 20
v^2 = 8
v ≈ √8
v ≈ 2.83 m/s

Therefore, the speed of the object when the spring is compressed 0.3 m will be approximately 2.83 m/s.

In summary, the correct answers to the questions are:
1. The maximum compression of the spring will be approximately 2.71 meters.
2. The speed of the object when the spring is compressed 0.3 m will be approximately 2.83 m/s.