diff options
author | priyanka | 2015-06-24 15:03:17 +0530 |
---|---|---|
committer | priyanka | 2015-06-24 15:03:17 +0530 |
commit | b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch) | |
tree | ab291cffc65280e58ac82470ba63fbcca7805165 /1727/CH1 | |
download | Scilab-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/CH1')
-rwxr-xr-x | 1727/CH1/EX1.1/1_1.sce | 12 | ||||
-rwxr-xr-x | 1727/CH1/EX1.2/1_2.sce | 14 | ||||
-rwxr-xr-x | 1727/CH1/EX1.3/1_3.sce | 18 | ||||
-rwxr-xr-x | 1727/CH1/EX1.4/1_4.sce | 8 | ||||
-rwxr-xr-x | 1727/CH1/EX1.6/1_6.sce | 9 | ||||
-rwxr-xr-x | 1727/CH1/EX1.7/1_7.sce | 12 |
6 files changed, 73 insertions, 0 deletions
diff --git a/1727/CH1/EX1.1/1_1.sce b/1727/CH1/EX1.1/1_1.sce new file mode 100755 index 000000000..6f4290c44 --- /dev/null +++ b/1727/CH1/EX1.1/1_1.sce @@ -0,0 +1,12 @@ +clc
+//Initialization of variables
+weight = 9800 //Kg
+g=9.81 //m/s^2
+a=2 //m/s^2
+//calculations
+m=weight/g
+Wm=m*a
+//results
+printf("Density on earth =%.2f Kg/m^3",m)
+printf("\n Weight on moon = %.2f N",Wm)
+printf("\n Density on moon remains unchanged and is equal to %.2f Kg/m^3",m)
diff --git a/1727/CH1/EX1.2/1_2.sce b/1727/CH1/EX1.2/1_2.sce new file mode 100755 index 000000000..8b3741178 --- /dev/null +++ b/1727/CH1/EX1.2/1_2.sce @@ -0,0 +1,14 @@ +clc
+//Initialization of variables
+w=150 //N
+theta=30 //degrees
+l=0.8 //m
+b=0.8 //m
+dy=0.12 //cm
+v=20 //cm/s
+//calculations
+Tau=w*sind(theta) /(l*b)
+rd=v/dy
+vis=Tau/rd
+//results
+printf("Viscosity of the fluid = %.2f N s/m^2",vis)
diff --git a/1727/CH1/EX1.3/1_3.sce b/1727/CH1/EX1.3/1_3.sce new file mode 100755 index 000000000..d0fbe7497 --- /dev/null +++ b/1727/CH1/EX1.3/1_3.sce @@ -0,0 +1,18 @@ +clc
+clear
+//Initialization of variables
+vis=2.5/10 //N s/m^2
+D=15 //cm
+N=180
+dy=0.0001 //m
+l=0.15 //m
+b=0.25 //m
+r=0.152 //m
+//calculations
+dv=%pi *D*N/60/100
+Tau=vis*dv/dy
+Tor=Tau*%pi*l*b*r/2
+P=Tor*2*%pi*N/60
+//results
+printf("Power required = %d W",P)
+disp("The answer is a bit different due to rounding off error in textbook.")
diff --git a/1727/CH1/EX1.4/1_4.sce b/1727/CH1/EX1.4/1_4.sce new file mode 100755 index 000000000..f8a8a0fc8 --- /dev/null +++ b/1727/CH1/EX1.4/1_4.sce @@ -0,0 +1,8 @@ +clc
+//Initialization of variables
+w=1 //rad/s
+T=0.4 //N/m^2
+//calculations
+mu=T/tan(w)
+//results
+printf("Viscosity = %.2f N s/m^2",mu)
diff --git a/1727/CH1/EX1.6/1_6.sce b/1727/CH1/EX1.6/1_6.sce new file mode 100755 index 000000000..d8fb78a8f --- /dev/null +++ b/1727/CH1/EX1.6/1_6.sce @@ -0,0 +1,9 @@ +clc
+//Initialization of variables
+d=0.05*10^-3 //m
+T=72*10^-3 //N/m
+P=101 //kN/m^2
+//calculations
+Pi=P*1000 + 2*T/(d/2)
+//results
+printf("Pressure = %.2f kN/m^2",Pi/1000)
diff --git a/1727/CH1/EX1.7/1_7.sce b/1727/CH1/EX1.7/1_7.sce new file mode 100755 index 000000000..a74791118 --- /dev/null +++ b/1727/CH1/EX1.7/1_7.sce @@ -0,0 +1,12 @@ +clc
+//Initialization of variables
+gam=981 //dyn/cm^2
+sigma=72 //dyn/cm
+theta=0 //degrees
+d=0.5 //cm
+depth=90 //cm
+//calculations
+h=4*sigma*cosd(theta) /(gam*d)
+Td=depth-h
+//results
+printf("True depth = %.3f cm",Td)
|