, I need help! I do not get to have the graph of the solution of a differential equation.
Show older comments
- 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.
Accepted Answer
More Answers (1)
Andres Bayona
on 25 Apr 2019
0 votes
Hi, I was wondering if it were possible that you shared the code with me. I would really appreciate it!
Categories
Find more on Ordinary Differential Equations in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!