Thermodynamics Assignment

Thermodynamics Assignment

Solution

l=0.08;g=9.8;

m1=0.6;m2=2;h=2;d=0.02;

x=21:0.1:200;

alpha = acos(m2*g./(m1*x.^2*l))

dz=2*(l-l*cos(alpha))/3;

kushi=dz/(d/2)*1.6/5.5;

y1=cos(kushi)*sqrt(2*9.8*2)*3.14*0.01^2*1000;

y2=0.2+10^(-5)*x.^2;

figure;

plot(x, y1,’Color’,’red’), hold on;

plot(x, y2,’Color’,’blue’), hold on;

xlabel(‘Angular velocity’,’FontWeight’,’bold’);

ylabel(‘Flow Rate’,’FontWeight’,’bold’);