unable to solve non linear differential equation
1 vue (au cours des 30 derniers jours)
Afficher commentaires plus anciens
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)
0 commentaires
Réponses (1)
Bjorn Gustavsson
le 26 Fév 2021
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
0 commentaires
Voir également
Catégories
En savoir plus sur Ordinary Differential Equations dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!