- #1
juef
- 27
- 0
Hey all,
I'm having trouble setting initial conditions when solving differential equations in Maple. Here's the equation:
[tex]\theta(t)''+4\pi^2 sin(\theta(t))=0[/tex], with [tex]\theta(0)=A[/tex] and [tex]\theta'(0)=B[/tex] as initial conditions.
I'd like to solve it with a command like:
solution:=dsolve({diff(theta(t), t, t) + 4*Pi*sin(theta(t)=0, init_conds},theta(t),numeric,range=0..4);
with something like:
init_conds:={theta(0)=A, diff(theta, t)=B);
But it seems Maple doesn't like my way of doing things... I've searched the help file, but couldn't find one that suits my problem.
Anyone? Thank you!
I'm having trouble setting initial conditions when solving differential equations in Maple. Here's the equation:
[tex]\theta(t)''+4\pi^2 sin(\theta(t))=0[/tex], with [tex]\theta(0)=A[/tex] and [tex]\theta'(0)=B[/tex] as initial conditions.
I'd like to solve it with a command like:
solution:=dsolve({diff(theta(t), t, t) + 4*Pi*sin(theta(t)=0, init_conds},theta(t),numeric,range=0..4);
with something like:
init_conds:={theta(0)=A, diff(theta, t)=B);
But it seems Maple doesn't like my way of doing things... I've searched the help file, but couldn't find one that suits my problem.
Anyone? Thank you!