# Matlab Help needed that will allow you to compute the flow

• MATLAB

## Main Question or Discussion Point

May anyone help me construct the matlab file ?

http://img120.imageshack.us/img120/2598/problem2we3.jpg [Broken]

http://img185.imageshack.us/img185/6756/problem2akg7.jpg [Broken]

Last edited by a moderator:

Related MATLAB, Maple, Mathematica, LaTeX News on Phys.org

WOW what a valuable POST THANX!!

Regarding the Q's:

Q1=Q2+Q3
Q3=Q4+Q5
Q5=Q6+Q7
Q1=Q10
Q3=Q9
Q5=Q8

This is more like applying Nodal analysis ; reminds me of Current in = Current out. Which i understand.

Those three i still dont get :

Q1=Q10
Q3=Q9
Q5=Q8

Also Regarding the dp_all i dont get.

I can also see you have wrote dp2 twice;
->dp2=C2*Q2^2
->dp2=dp3+dp4+dp9
Similarly for dp 4

while you said dp6=dp7.

Can you please provide me with a litlle bit more details so it breaks down to pieces.

May you also what C represents ?

And The last four lines specifically :-

dp_all=dp1+dp2+dp3
dp2=dp3+dp4+dp9
dp4=dp5+dp6+dp8
dp6=dp7

I dont understand them. I tried applying the nodal anaylsis but it seems not to work how did you work those equations out ?