Solving a third order and second order differential equation

3 ビュー (過去 30 日間)
Andrew Poissant
Andrew Poissant 2016 年 5 月 1 日
回答済み: Vaibhav Awale 2016 年 5 月 6 日
I am first trying to solve the third order ODE 2*d^3f/dn^3+f*d^2f/dn^2=0, where f=S/(u*sqrt(a*x/u)), n=y*sqrt(u/(a*x)), u=dS/dy, n=y*sqrt(u/(a*x). u is a constant. The BCs are df/dn (at n=0)=f(0)=0 and df/dn (n-->inf)=1.
The second order ODE I am trying to solve is d^2T/dn^2+Pr/2*f*dT/dn=0, where f=S/(u*sqrt(a*x/u)), n=y*sqrt(u/(a*x)), u=dS/dy, n=y*sqrt(u/(a*x), Pr=e/k. The BCs are T(0)=0 and T(inf)=1.
Any help would be greatly appreciated!

回答 (1 件)

Vaibhav Awale
Vaibhav Awale 2016 年 5 月 6 日
Hi Andrew,
To solve the differential equations that you have mentioned ode45 can be a useful function. You can refer to the examples mentioned in there to understand how to solve differential equations in MATLAB.
Hope this helps
Regards,
Vaibhav

カテゴリ

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