How do I get an analytical solution of a boundary value problem in MATLAB

4 ビュー (過去 30 日間)
naygarp
naygarp 2018 年 4 月 14 日
回答済み: Furqan Ahmad 2022 年 10 月 17 日
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?

採用された回答

Ngoc Thanh Hung Bui
Ngoc Thanh Hung Bui 2018 年 4 月 15 日
編集済み: Ngoc Thanh Hung Bui 2018 年 4 月 15 日
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 件のコメント
naygarp
naygarp 2018 年 4 月 16 日
Is there any alternate way where I could find an analytical solution?
Torsten
Torsten 2018 年 4 月 17 日
I can't think of any.

サインインしてコメントする。

その他の回答 (1 件)

Furqan Ahmad
Furqan Ahmad 2022 年 10 月 17 日

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.

カテゴリ

Help Center および File ExchangeOrdinary Differential Equations についてさらに検索

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by