Hello,(adsbygoogle = window.adsbygoogle || []).push({});

I'm trying to (numerically) solve the equation y''*y=-0.5*y'^2 in Mathematica.

I know there's an analytic solution (and I know how to calculate it), but I want to modify this equation and thus need to verify that the numerical solution for the original equation is exact.

I'm using NDSolve with the following syntax:

s = NDSolve[{y''[x] y[x] == -0.5 y'[x] y'[x],

y[0] == -75*((-4/675)^(1/3)), y'[0] == (-4/675)^(1/3)},

y, {x, 0, 48}]

Plot[(y /. Flatten[%])[x], {x, 0, 48}]

I know that this set of initial conditions have a well defined solution (solved analytically and numerically in Matlab) yet I get an empty plot in Mathematica. What is wrong? Could NDSolve handle equations with a singular point (here [50, 0])?

**Physics Forums | Science Articles, Homework Help, Discussion**

Dismiss Notice

Join Physics Forums Today!

The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

# Numeric solution for nonlinear (stiff?) ODE - Mathematica syntax problem? (NDSolve)

Loading...

Similar Threads for Numeric solution nonlinear |
---|

A RK4 on numerical RHS |

I Is this numerical techique for solving ODEs widely known? |

A Numerical solution techniques for 6th order PDE's |

A Numerical solution for a two dimensional 3rd order nonlinear diff. eq. |

I 2nd order ODE numerical solution |

**Physics Forums | Science Articles, Homework Help, Discussion**