Well it better be conservative, otherwise my physics is wrong. If anyone is interested. This equation comes from the movement of a flat surface with two pressures that are reaching equilibrium. The motion I restrained to be linear. x is the length of a closed volume. I'm a little confused by the Hamiltonian. I've only seen it operate on a wave function. It makes sense to make it the total energy as A and B define parameters of the pressure and if there is a greater difference in pressure there should be more energy in the system. But, it doesn't make sense to me that the constant C1 would be the Energy, since there is a dependence. Maybe it is net energy and be 0 in the equation? And would be a value if it was in a theoretical potential but for mass? Could you help figure what C1 should be?
This is my work.
With a enclosed surface like box or cylinder like. Letting only one surface move. x is the length so x = 0 would have 0 volume.
Po*A - Pi*A = Fnet = m*d2x/dt2 ; Po - outside pressure ; Pi - inside pressure; A - area of surface.
Pi = nRT / (xA) ; m = σ*A ; σ being a surface mass density
to get to my equation above
a - b/x = d2x/dt2 ; where a = Po/σ and b = nRT/(σA)
I think from the integral is should be from x0 to xeq (equilibrium). Which xeq can be solved with a - b/x = 0 -> xeq = b/a
And then the integral can go from x0 to b/a to give a solution for Δt. But, JJacquelin is the more general solution. I think the ± comes from the x able to go either direction, but is dependent on a and b. Still not sure about C1
I don't really need an answer, but I like practicing problems I come up with. And, Thanks