unable to solve non linear differential equation
Ältere Kommentare anzeigen
Please help me solving following differential equation. I have attached matlab code. When i run this code it gives solution "Unable to find explicit solution."
code:
syms r(t) omega meu theta g;
Dt = diff(r,t);
D2t = diff(r,t,2);
ode = D2t - (r*(omega^2)*(sin(theta))^2)+(meu*sin(theta)*((4*(omega^2)*(Dt)^2)+(g-cos(theta))^2)^(1/2))+(g*cos(theta)) == 0;
cond1 = r(0)==0.001;
cond2 = Dt(0)==0;
cond3 = D2t(0)==0;
cond = [cond1 cond2 cond3];
rsolt = dsolve(ode, cond)
Antworten (1)
Bjorn Gustavsson
am 26 Feb. 2021
0 Stimmen
This looks like an equation of the form:
Unless you have an equation for a trajectory of a spinning object falling in gravity...
Anyhow, that ODE has as far as I was taught no simple analytical solution, so you have to integrate it numerically. See the help and documentation for ode45 and the numerous examples and demos for how to solve coupled ODEs numerically.
HTH
Kategorien
Mehr zu Symbolic Math Toolbox finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!