Solve for x(t) and v(t) given a Force equation using Mathematica

AI Thread Summary
The discussion focuses on solving a second-order nonlinear differential equation derived from the force equation F = ma. The user expresses confusion about integrating the equation and how to apply Mathematica for the solution. Key insights include using the chain rule to relate acceleration to velocity and position, leading to the equation v dv = (F/m) dx. The user has made progress on the first part of the problem but seeks guidance on implementing the solution in Mathematica. Overall, the conversation emphasizes the integration of force equations and the application of calculus principles.
zeesyk
Messages
5
Reaction score
1
Capture d’écran 2019-01-24 à 23.09.08.png

Homework Statement

Homework Equations


F= ma or F= md^2x/dt^2

The Attempt at a Solution


I know that this second order differential is non linear. I attempted to solve the problem as -k/x^2 = md^2x/dt^2 but I'm getting trouble since it is a second order ODE and I haven't learned how to solve those yet. I was also looking at my class notes to a similar problem but my professor included potential energy? I'm a bit confused. Any help would be greatly appreciated. If you can also show me how to solve this on Mathematica, that would also be a plus. I don't have any experience with it.
 

Attachments

  • Capture d’écran 2019-01-24 à 23.09.08.png
    Capture d’écran 2019-01-24 à 23.09.08.png
    19.7 KB · Views: 744
Last edited by a moderator:
Physics news on Phys.org
update: i think i may have solved the first part? Now I need to figure out to put in on Mathematica.
IMG_3534.jpg
 

Attachments

  • IMG_3534.jpg
    IMG_3534.jpg
    17.6 KB · Views: 424
You need to use the chain rule from calculus.

You know that a = dv/dt.

However, this can also be written as a = (dv/dx) * (dx/dt) = v (dv/dx).

This means that your force equation a = F/m can now be written as

v \frac{dv}{dx} = \frac{F}{m}

Consequently, what you need to solve (or integrate) is

v dv = \frac{F}{m} dx

since F is given as a function of x.

Zz.
 
Thread 'Variable mass system : water sprayed into a moving container'
Starting with the mass considerations #m(t)# is mass of water #M_{c}# mass of container and #M(t)# mass of total system $$M(t) = M_{C} + m(t)$$ $$\Rightarrow \frac{dM(t)}{dt} = \frac{dm(t)}{dt}$$ $$P_i = Mv + u \, dm$$ $$P_f = (M + dm)(v + dv)$$ $$\Delta P = M \, dv + (v - u) \, dm$$ $$F = \frac{dP}{dt} = M \frac{dv}{dt} + (v - u) \frac{dm}{dt}$$ $$F = u \frac{dm}{dt} = \rho A u^2$$ from conservation of momentum , the cannon recoils with the same force which it applies. $$\quad \frac{dm}{dt}...
Back
Top