3rd order non linear differential equation

1 view (last 30 days)
2f'''+f.f''=0
The boundary conditions are given as
f(0)=r, f'(0)=0, f'(∞)=1 , where r is a constant .
How can I solve this differential equation using Matlab or Mathematica ??

Accepted Answer

Torsten
Torsten on 3 Feb 2015
Set
y1=f, y2=f',y3=f'',
rewrite your system as
y1'=y2
y2'=y3
y3'=-0.5*y1*y3,
set oo to a sufficiently large value and use MATLAB's bvp4c to solve.
Best wishes
Torsten.
  11 Comments
Torsten
Torsten on 27 Mar 2015
Please show what you have done so far. Maybe we can find the error together.
Best wishes
Torsten.
assiya malik
assiya malik on 8 May 2016
i know how to solve it by inbuilt methods but i want the coding of RK-4 step by step to solve this balsius equation. if somebody could help i will be grateful

Sign in to comment.

More Answers (0)

Community Treasure Hunt

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

Start Hunting!