You have a mass of 2 kg attached to a spring with a spring constant 18 N/m. The mass is at rest at the equilibrium position. At time t=0 you hit the object with a hammer. This blow instantaneously gives the object a velocity of 3 m/s. The motion (after the blow) is described by the function x= Acos(omega t + constant).

a.) What is the frequencey (omega)?
b) determine the value of the constant.
c.) determine the value of constant A.
d.) what is the position and velocity at t- 2s
e.) What is the meximum displacement? At what time does this occur?

I am confused on how to solve for omega. I know that omega is the frequency as well so omega/2pi equals frequency, but I am confused on what to solve for.

To solve for the frequency (omega) in this problem, we can use the given information that the motion is described by the equation x = Acos(omega t + constant). In this equation, the term "omega" corresponds to the angular frequency, which is related to the frequency by the equation omega = 2*pi*frequency.

To find omega, we need to isolate it in the equation x = Acos(omega t + constant). Let's rearrange the equation:

x = Acos(omega t + constant)

Divide both sides by A:

x/A = cos(omega t + constant)

Now, we can apply the inverse cosine function to both sides:

cos^(-1)(x/A) = omega t + constant

Rearrange the equation by subtracting the constant:

cos^(-1)(x/A) - constant = omega t

Now, divide both sides by t:

(cos^(-1)(x/A) - constant) / t = omega

The expression (cos^(-1)(x/A) - constant) / t gives us the value of omega, which represents the frequency of the oscillatory motion.

Now, let's move on to answering the other parts of the question:

b) To determine the value of the constant, we need to look at the initial conditions. At time t = 0, the mass is at rest at the equilibrium position. This means that its initial velocity is zero. Therefore, we can substitute t = 0 into the equation x = Acos(omega t + constant). This will give us the value of the constant.

x = Acos(omega * 0 + constant)
0 = Acos(constant)

Since the cosine of any angle is only zero when the angle is π/2 radians (90 degrees), we can conclude that constant is equal to π/2 radians (90 degrees).

c) To determine the value of constant A, we can use the information that the mass is initially given a velocity of 3 m/s. We can substitute t = 0 into the equation v = -A * omega * sin(omega t + constant), which gives us the velocity expression:

v = -A * omega * sin(constant)

Given that the velocity is 3 m/s at t = 0:

3 = -A * omega * sin(constant)

By rearranging the equation, we get:

A * omega * sin(constant) = -3

To find the value of A, we can divide both sides by omega * sin(constant):

A = -3 / (omega * sin(constant))

d) To find the position and velocity at t = 2s, we can substitute t = 2 into the equations for position and velocity:

For position, x = Acos(omega t + constant):

x = Acos(2 * omega + π/2)

For velocity, v = -A * omega * sin(omega t + constant)

v = -A * omega * sin(2 * omega + π/2)

e) To find the maximum displacement, we can use the equation for position, x = Acos(omega t + constant). The maximum value of the cosine function is 1, so the maximum displacement (amplitude) is equal to A.

To find the time at which this maximum displacement occurs, we need to find when the argument of the cosine function is equal to zero, since cos(0) = 1. In this case, we set omega t + constant equal to zero and solve for t:

omega t + constant = 0

omega t = -constant

t = -constant / omega

This gives us the time at which the maximum displacement occurs.

isnt omega= sqrt (k/m)?