On mathematica:(adsbygoogle = window.adsbygoogle || []).push({});

Solve the differential equation

d^2 x(t)/dt^2 + x(t)(x^2(t) − 1) + t = 0

numerically, subject to the initial conditions that x(0) = 1 and dx(0)/dt = 0. Use

Plot to plot the solution for the domain t 2 [0, 10].

2.

Above is what i'm trying to do. Below is what i've typed in on mathematica:

s = NDSolve[{x''[t] + (x[t]) (x[t]^2 - 1) + t == 0, x[0] == 1,

x3'[0] == 0}, x, {t, 0, 10}]

This is wrong, it says it's not a diff. equation. Where am i going wrong?

**Physics Forums - The Fusion of Science and Community**

# Mathematica differential equation

Know someone interested in this topic? Share a link to this question via email,
Google+,
Twitter, or
Facebook

Have something to add?

- Similar discussions for: Mathematica differential equation

Loading...

**Physics Forums - The Fusion of Science and Community**