ODE Hooke's Law, V(x) instead of V(t)

blieveucanfly
Messages
9
Reaction score
0

Homework Statement


A 50kg mass is attached to a spring and hung from an overhead beam. The Force on the spring when extended 2 meters from rest is 50N. The resting length of the spring is 1m.

1) Obtain the ODE to solve for the velocity as a function of position (NOT time)

2) Solve the ODE if the spring is dropped from it's rest length of 1m


Homework Equations


F= -kx, F=ma, a(t) = dv/dt, v(t)=dx/dt, F(2) = -50N, V(x0) = 0, x = distance below the overhead beam)


The Attempt at a Solution



I am mostly having trouble coming up with an equation to solve. We are specifically forbidden from using second order methods to solve. I know logically that it's a periodic function since the spring oscillated up and down once released. I also know (as per my professor) that the solution v(x) will NOT be a periodic function.

My attempted equation is: dv/dx = -kx+mg

I was able to solve that (presumably incorrect) equation and get -k/2m x2 +gx +c

Am I on the right track or have I completely missed a key concept somewhere.
Thanks.
 
Physics news on Phys.org
I think I may have figured it out: If my logic is correct dv/dt = dx/dt*dv/dx. Since I want a solution for v(x), I need to solve the differential with a dv/dx in it. I can get this by substituting v for dx/dt.

My new ODE looks like this: v * dv/dx = -k/m x +g
which I then solve by integrating both sides
 
blieveucanfly said:
I think I may have figured it out: If my logic is correct dv/dt = dx/dt*dv/dx. Since I want a solution for v(x), I need to solve the differential with a dv/dx in it. I can get this by substituting v for dx/dt.

My new ODE looks like this: v * dv/dx = -k/m x +g
which I then solve by integrating both sides
Yes, integrate both sides with respect to x.

(dv/dx)dx = dv .
 
blieveucanfly said:
I think I may have figured it out: If my logic is correct dv/dt = dx/dt*dv/dx.
Yup, that's the chain rule applied to v(x(t)).
 
Thread 'Use greedy vertex coloring algorithm to prove the upper bound of χ'
Hi! I am struggling with the exercise I mentioned under "Homework statement". The exercise is about a specific "greedy vertex coloring algorithm". One definition (which matches what my book uses) can be found here: https://people.cs.uchicago.edu/~laci/HANDOUTS/greedycoloring.pdf Here is also a screenshot of the relevant parts of the linked PDF, i.e. the def. of the algorithm: Sadly I don't have much to show as far as a solution attempt goes, as I am stuck on how to proceed. I thought...
Back
Top