How to solve a second degree derivative with another variable
显示 更早的评论
(M)'' + N*M= 0;
Is it possible to solve the above equation if N is not a constant ?
16 个评论
Birdman
2018-1-31
By not a constant, you mean it is dependent on a variable? Like N(x)?
Dereje
2018-1-31
Torsten
2018-1-31
And x varies with t ?
Jan
2018-1-31
Do you want to solve this symbolically or numerically?
Dereje
2018-1-31
Dereje
2018-1-31
Jan
2018-1-31
Maybe? Please decide this clearly.
Post more details by editing the question. Write down explicitly, what you want to solve, not just the rough formulation with the two characters N and M, but the real functions you have. Convert the 2nd order equation to a system of 1st order equations.
Torsten
2018-1-31
If x does not depend on t, then N is constant.
John D'Errico
2018-1-31
This is not a question about MATLAB at all, but simple mathematics. As such, there is no reason to post it on MATLAB Answers. Worse, it is very unclear, even after several responses by you in the comments as to what the real problem is.
However I'll point out that if you have a differential equation in the form posed, where both M(t) and N(t) are unknown functions, then no, a single differential equation is insufficient to infer the relations M(t) AND N(t).
If N depends on another variable x, then again, you CANNOT predict the relationship N(x) if that relationship is unknown.
If however, N(x) is a known function, then for ANY value of x, just predict N(x), and THEN solve the ODE, which is now a constant coefficient ODE, and in this example trivial to solve.
Dereje
2018-1-31
Dereje
2018-1-31
Torsten
2018-1-31
If N does not depend on t (or another quantity that depends on t), what does it depend on if it's not constant ?
Dereje
2018-1-31
Dereje
2018-1-31
Torsten
2018-2-1
Form what you wrote above, I suspect that both M and N only depend on z and a variable t is not involved. Thus your equation would read
M''(z)+N(z)*M(z)=0
Is this correct ?
Best wishes
Torsten.
Dereje
2018-2-1
回答(0 个)
类别
在 帮助中心 和 File Exchange 中查找有关 Mathematics 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!