Message Boards Message Boards

NDSolve error solving system of equations

Posted 1 year ago

I don't know why the error was generated. Please help me.

POSTED BY: YeJun Bang
2 Replies
Posted 1 year ago

Thank you so much

POSTED BY: YeJun Bang

There are many problems with your code.

A comma is missing in the NDSolve, between {alpha[t], beta[t]} and {t, 0, 0.000001}.

You are using Abs, which is not differentiable in the complex domain. You should use RealAbs, which is differentiable in the real domain outside the origin.

Your initial condition alpha[0] == 0 happens to be precisely in the point where RealAbs[Tan[alpha[t]]] is not differentiable.

POSTED BY: Gianluca Gorni
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