, I need help! I do not get to have the graph of the solution of a differential equation.
Ältere Kommentare anzeigen
- I have a differential equation of the first order. It describes the basic velocity profile of fluid flowing over an inclined plane.
- I used the Euler method with Matlab to solve the equation.
- My goal is to plot the graph of the solution of this equation. I want to have the velocity U on axis (ox) on the interval [0,18], in fonction of the height of the flow channel y, on axis (oy) in the interval [0,200] .
- No errors in the program are displayed, but the result I get is different from that of the article on which I work. The velocity profile should be parabolic while I get a straight line!
- I Attach the program that I do, the graph that I get and the graph that I must have.Could you please help me understand and solve the problem? I will be very grateful.
1 Kommentar
Nadjah
am 2 Jan. 2015
Akzeptierte Antwort
Weitere Antworten (1)
Andres Bayona
am 25 Apr. 2019
0 Stimmen
Hi, I was wondering if it were possible that you shared the code with me. I would really appreciate it!
Kategorien
Mehr zu Ordinary Differential Equations finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!