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

Click For Summary
SUMMARY

The discussion focuses on solving the second-order nonlinear differential equation derived from the force equation F = ma, specifically in the context of using Mathematica for computation. The user initially struggles with the equation -k/x^2 = md^2x/dt^2 and seeks clarification on integrating the force function to find velocity v(t) and position x(t). The solution involves applying the chain rule and rewriting the acceleration as a function of velocity and position, leading to the integral v dv = (F/m) dx, which is essential for further calculations in Mathematica.

PREREQUISITES
  • Understanding of second-order differential equations
  • Familiarity with Newton's second law (F = ma)
  • Basic knowledge of calculus, particularly the chain rule
  • Introduction to Mathematica for computational solutions
NEXT STEPS
  • Learn how to solve second-order nonlinear differential equations in Mathematica
  • Study the application of the chain rule in physics problems
  • Explore integration techniques for force functions
  • Review potential energy concepts and their relation to force equations
USEFUL FOR

Students studying physics, particularly those tackling mechanics and differential equations, as well as anyone interested in using Mathematica for solving complex mathematical problems.

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: 784
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: 435
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.
 

Similar threads

  • · Replies 7 ·
Replies
7
Views
2K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 21 ·
Replies
21
Views
2K
  • · Replies 15 ·
Replies
15
Views
3K
  • · Replies 3 ·
Replies
3
Views
1K
  • · Replies 1 ·
Replies
1
Views
1K
  • · Replies 11 ·
Replies
11
Views
2K
  • · Replies 40 ·
2
Replies
40
Views
2K
Replies
5
Views
972
  • · Replies 3 ·
Replies
3
Views
2K