From 7f60ea012dd2524dae921a2a35adbf7ef21f2bb6 Mon Sep 17 00:00:00 2001 From: prashantsinalkar Date: Tue, 10 Oct 2017 12:27:19 +0530 Subject: initial commit / add all books --- 629/CH6/EX6.6/example6_6.sce | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 629/CH6/EX6.6/example6_6.sce (limited to '629/CH6/EX6.6/example6_6.sce') diff --git a/629/CH6/EX6.6/example6_6.sce b/629/CH6/EX6.6/example6_6.sce new file mode 100644 index 000000000..ea9d6a092 --- /dev/null +++ b/629/CH6/EX6.6/example6_6.sce @@ -0,0 +1,24 @@ +clear +clc +//Example 6.6 FORCES ACTING ON A PIPE BEND +p=75*10^3 //[Pa] +r=0.5; //[m] +A=%pi*r^2 //area[m^2] +S=0.94; +rho=S*1000 //drnsity[kg/m^3] +Gamma=S*9.81 //specific weight of oil[kN/m^3] +V=1.2; //volume of oil[m^3] +Q=2; //[m^3/s] +m=rho*Q //mass flow rate[kg/s] +v=2.55; //[m/s] +theta=30; //degrees +//Reaction force +//Rx+p*A-p*A*cos(theta)=m*v*cos(theta)-m*v +Rx=-(p*A+m*v)*(1-cosd(theta))/10^3 //[kN] +//Ry+p*A*sin(theta)=-m*v*sin(theta) +Ry=-(p*A+m*v)*sind(theta)/10^3 //[kN] +We=4; //empty weight of bend[kN] +Rz=(Gamma*V)+We //[kN] +//Reaction force vector +R=[Rx Ry Rz] //[kN] +printf("\n The net force required to hold the bend in place, F =(%.2f kN)i+(%.1f kN)j+(%.1f kN)k.\n",R(1),R(2),R(3)) \ No newline at end of file -- cgit