How do I get an analytical solution of a boundary value problem in MATLAB
8 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
naygarp
le 14 Avr 2018
Réponse apportée : Furqan Ahmad
le 17 Oct 2022
I have the following 3rd order ordinary differential equation that I need to solve
f'''- 1/3f'^2- 2/3ff'=0
at x=0, f=0; f'=1
at x= infinity, f'=0
So how do I get the analytical solution?
0 commentaires
Réponse acceptée
Ngoc Thanh Hung Bui
le 15 Avr 2018
Modifié(e) : Ngoc Thanh Hung Bui
le 15 Avr 2018
I think this code is correct but it returns a empty solution for some reasons, so just use for reference
syms y(t)
Dy = diff(y);
dsolve(diff(y,3) == (1/2)*diff(y)^2 + (2/3)*diff(y)*y, y(0) == 0, Dy(0) == 1, Dy(inf) == 0)
4 commentaires
Plus de réponses (1)
Furqan Ahmad
le 17 Oct 2022
Consider the linear Klein-Gordan equation utt = uxx, t > 0, −∞ < x < ∞. (5.1) subject to boundary conditions u(0, t) = u(π, t) = 0, (5.2) and initial conditions u(x, 0) = 1 + sin(x), ut(x, 0) = 0. Find the analytic solution of this given partial differential equation with initial and boundary value problem.
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!