I'm trying to solve this bernoulli equation.
(∂u/∂t)+ρ(u∂u/∂x)=-∂p/∂x+(μ∂^2 u)/(∂x^2 )
after assuming the variation of u with time is zero and ignoring viscous effects, I got to ρ(u∂u/∂x)=-∂p/∂x
by solving this, i wish to get value of u for different values of dx( variation of u along a straight line ) for some constant value of p. But to do this i need to convert this equation to the form required by matlab, which im not able to do.At the end I need to plot the variation of u against dx. How can i achieve this?