summaryrefslogtreecommitdiff
path: root/1727/CH9
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /1727/CH9
downloadScilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.gz
Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.bz2
Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.zip
initial commit / add all books
Diffstat (limited to '1727/CH9')
-rwxr-xr-x1727/CH9/EX9.14/9_14.sce14
-rwxr-xr-x1727/CH9/EX9.15/9_15.sce12
-rwxr-xr-x1727/CH9/EX9.4/9_4.sce11
3 files changed, 37 insertions, 0 deletions
diff --git a/1727/CH9/EX9.14/9_14.sce b/1727/CH9/EX9.14/9_14.sce
new file mode 100755
index 000000000..bf58c9cde
--- /dev/null
+++ b/1727/CH9/EX9.14/9_14.sce
@@ -0,0 +1,14 @@
+clc
+//Initialization of variables
+T=4.5
+a=0.6
+u=5 //m/s
+rho=1000 //kg/m^3
+//calculations
+sint=0.5*(1- T/(2*%pi*a*u))
+theta= asind(sint)
+dp= 0.5*rho*u^2 *(1 - (2 + T/(2*%pi*a*u))^2)
+//results
+printf("Angle = %.1f %.1f degrees",theta,180-theta)
+printf("\n Min guage pressure = %.2f kN/m^2",dp/1000)
+//The answer in textbook is wrong. please check
diff --git a/1727/CH9/EX9.15/9_15.sce b/1727/CH9/EX9.15/9_15.sce
new file mode 100755
index 000000000..86d90c30e
--- /dev/null
+++ b/1727/CH9/EX9.15/9_15.sce
@@ -0,0 +1,12 @@
+clc
+//Initialization of variables
+T=6*%pi
+r=1/3
+//calculations
+vab=T/(4*%pi)
+vba= T/(2*%pi)
+w=vab/r
+//results
+printf("rate of rotation = %.1f rad/s",w)
+printf("\nspeed of A by B = %.1f m/s",vab)
+printf("\nspeed of B by A = %.1f m/s",vba)
diff --git a/1727/CH9/EX9.4/9_4.sce b/1727/CH9/EX9.4/9_4.sce
new file mode 100755
index 000000000..201e208cd
--- /dev/null
+++ b/1727/CH9/EX9.4/9_4.sce
@@ -0,0 +1,11 @@
+clc
+//Initialization of variables
+k=1.5
+r=40 //cm
+theta=45 //degrees
+//calculations
+vr= -2*k*r*cosd(2*theta)
+vt= 2*k*r*sind(2*theta)
+//results
+printf("velocity in radial direction = %d cm/s",vr)
+printf("\n velcoity in angular direction = %d cm/s",vt)