solve a complex second order differential equation
Show older comments
the ode has a form:
(
)
)and for
, given
, how could I use ode45 to solve it with plot? thx
Accepted Answer
More Answers (1)
Walter Roberson
on 20 Oct 2021
0 votes
You cannot use any numeric solver for that. You have initial conditions at η = 0, but at 0 you have a division by 0 which gets you a numeric infinity. That numeric infinity is multiplied by the boundary condition of 0, but numeric infinity times numeric 0 gives you NaN, not 0.
If you work symbolically you might think that the infinity and the 0 cancel out, but that only works if the φ' approaches 0 faster than 1/η approaches infinity, which is something that we do not immediately know to be true.
3 Comments
嘉杰 程
on 20 Oct 2021
嘉杰 程
on 20 Oct 2021
Bjorn Gustavsson
on 20 Oct 2021
That is not enough. The ratio of 1/t*dphi/dt has to behave well for t = 0.
Categories
Find more on Programming in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!



