How Can I Solve an ODE in Mathematica for Acceleration, Position, and Velocity?

  • Thread starter Thread starter Winzer
  • Start date Start date
  • Tags Tags
    Mathematica Ode
Click For Summary
SUMMARY

The discussion centers on solving the ordinary differential equation (ODE) for acceleration, position, and velocity using Mathematica. The equation presented is a = -\frac{1}{y[t]^2} + Exp[-y[t]] y'[t], with initial conditions y[0] = 1000000, y'[0] = 0, and y''[0] = 0. The user attempted to use the NDsolve function in Mathematica but encountered difficulties in obtaining a solution. Clarification on the equation's format was provided, emphasizing the need for correct syntax in Mathematica.

PREREQUISITES
  • Familiarity with ordinary differential equations (ODEs)
  • Understanding of Mathematica syntax and functions, specifically NDsolve
  • Basic knowledge of initial value problems in calculus
  • Concept of exponential functions in mathematical modeling
NEXT STEPS
  • Research how to properly format equations in Mathematica for NDsolve
  • Learn about the use of initial conditions in solving ODEs with Mathematica
  • Explore graphing techniques in Mathematica for visualizing acceleration, position, and velocity
  • Study the implications of exponential decay in physical systems
USEFUL FOR

This discussion is beneficial for students and educators in mathematics or physics, particularly those working with differential equations in Mathematica, as well as anyone interested in modeling physical phenomena involving acceleration and motion.

Winzer
Messages
597
Reaction score
0

Homework Statement


I need to solve:
[itex]a=-\frac{1}{y[t]^2}+Exp[-y[t]]y'[t]<br /> [itex] Using Mathematica. I have tried NDsolve and nothing.<br /> By the way a is acceleration,y is position,and y' is velocity.<br /> y[0]=1000000, y'[0]=0,y''[0]=0<br /> <br /> <h2>Homework Equations</h2><br /> <h2>The Attempt at a Solution</h2><br /> I have tried NDsolve and nothing.<br /> Totally at a loss. This is this right equation this problem of mine by the way[checked with the prof]. I just need to graph a[t],y[t], and v[t].[/itex][/itex]
 
Physics news on Phys.org
Hi Winzer! :smile:

Do you mean [tex]a=-\frac{1}{y[t]^2}+e^{-y[t]}y'[t][/tex] ?

That's y2e-y dy / (ay2 + 1) = dt

(you need to type [noparse][tex]before and[/tex] after for LaTeX on this forum[/noparse] :wink:)
 

Similar threads

  • · Replies 1 ·
Replies
1
Views
1K
  • · Replies 1 ·
Replies
1
Views
3K
Replies
1
Views
2K
Replies
12
Views
1K
Replies
2
Views
2K
  • · Replies 4 ·
Replies
4
Views
4K
  • · Replies 5 ·
Replies
5
Views
2K
  • · Replies 9 ·
Replies
9
Views
3K
Replies
4
Views
2K
Replies
6
Views
2K