Message Boards Message Boards

0
|
7058 Views
|
1 Reply
|
0 Total Likes
View groups...
Share
Share this post:

trouble solving diff. eqn. in alpha pro

Posted 10 years ago
POSTED BY: danny tuttle

Try a numerical solution with two initial conditions to accommodate the second order. In Mathematica I was able to solve as follows.

Clear["Global`*"];
NDSolve[
 {x''[t] + 9 x[t] - Sin[x[t]] == 0, (*Two initial conditions.*)x[0] == 1, x'[0] == -1}, 
 x[t], {t, -2 Pi, 2 Pi}]
Plot[x[t] /. %, {t, -2 Pi, 2 Pi}]
POSTED BY: Isaac Abraham
Reply to this discussion
Community posts can be styled and formatted using the Markdown syntax.
Reply Preview
Attachments
Remove
or Discard

Group Abstract Group Abstract