Parallel Plate Microfluidics velocity problem

8 ビュー (過去 30 日間)
Joseph Gooch
Joseph Gooch 2020 年 1 月 24 日
回答済み: Gaurav Garg 2020 年 2 月 3 日
How do I graph this equation of y vs. u(y,0) for a parallel plate problem
P = 10;
L = 0.02;
h = 30*10^-6;
u = 0.001;
%% Equation: u(y,0) = P/(2*u*L)*(y^2-h^2);
fplot(@(y) P/(2*u*L)*(y^2-h^2), [-1.5*10^-4 1.5*10^-4])
The resulting graph is supposed to return a straight line according to the answer solution guide, I can only get it to return a parabolic graaph

回答 (1 件)

Gaurav Garg
Gaurav Garg 2020 年 2 月 3 日
Hi,
Though you wish to plot a straight line, you have plotted (y^2) which means you are supposed to get a parabolic graph.

カテゴリ

Help Center および File ExchangeNumerical Integration and Differential Equations についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by