- #1

- 5

- 0

## Summary:

- Simple harmonic motion Displacement, Velocity and acceleration of a mass as a function of time; looking on the internet to find equations to plot onto a graph but everyone is using different formulas,

## Main Question or Discussion Point

I conducted a mass-sprig experiment to see how stiffness of a spring and mass affect the frequency of oscillation. In addition to this to this i have to plot a graph to show displacement,velocity and acceleration of the mass as a function of time.From my research online

For the displacement as a function of time:

x(t)=x*cos(w*t)

For the velocity as a function of time(Deriving the above):

v(t)=x*w*sin(w*t)

For the acceleration as a function of time(Deriving the above):

a(t)=-x*w^2*cos(w*t)

But when i loot at other sources it shows different equations (such as instead of cos its sin).

For the displacement as a function of time:

x(t)=x*sin(w*t)

For the velocity as a function of time(Deriving the above):

v(t)=x*w*cos(w*t)

For the acceleration as a function of time(Deriving the above):

a(t)=-x*w^2*sin(w*t)

My question is what formula do i use ?

For the displacement as a function of time:

x(t)=x*cos(w*t)

For the velocity as a function of time(Deriving the above):

v(t)=x*w*sin(w*t)

For the acceleration as a function of time(Deriving the above):

a(t)=-x*w^2*cos(w*t)

But when i loot at other sources it shows different equations (such as instead of cos its sin).

For the displacement as a function of time:

x(t)=x*sin(w*t)

For the velocity as a function of time(Deriving the above):

v(t)=x*w*cos(w*t)

For the acceleration as a function of time(Deriving the above):

a(t)=-x*w^2*sin(w*t)

My question is what formula do i use ?