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 /1985/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 '1985/CH1')
-rwxr-xr-x | 1985/CH1/EX1.1/chapter1_Example1.sce | 14 | ||||
-rwxr-xr-x | 1985/CH1/EX1.2/chapter1_Example2.sce | 13 | ||||
-rwxr-xr-x | 1985/CH1/EX1.3/chapter1_Example3.sce | 16 | ||||
-rwxr-xr-x | 1985/CH1/EX1.4/chapter1_Example4.sce | 14 |
4 files changed, 57 insertions, 0 deletions
diff --git a/1985/CH1/EX1.1/chapter1_Example1.sce b/1985/CH1/EX1.1/chapter1_Example1.sce new file mode 100755 index 000000000..8efba1eb1 --- /dev/null +++ b/1985/CH1/EX1.1/chapter1_Example1.sce @@ -0,0 +1,14 @@ +
+clc
+clear
+
+//INPUT DATA
+L=1;//Length of the bar in m
+l=0.25;//Length of the pemdulum in m
+
+//CALCULATIONS
+k=sqrt((L^2)/12);//Radius of gyration m
+T=sqrt(((k^2/l)+l)/9.8)*2*3.14;//Time period of pendulum in s
+
+//OUTPUT
+mprintf('Time period of the pendulum is %3.3f sec',T)
diff --git a/1985/CH1/EX1.2/chapter1_Example2.sce b/1985/CH1/EX1.2/chapter1_Example2.sce new file mode 100755 index 000000000..75b421142 --- /dev/null +++ b/1985/CH1/EX1.2/chapter1_Example2.sce @@ -0,0 +1,13 @@ +
+clc
+clear
+
+//INPUT DATA
+T=2.223;//Time taken for 1 oscillation in sec
+L=1.228;//Length of the pendulum in m
+
+//CALCULATIONS
+g=((4*3.14^2*L)/(T^2));//Acceleration due to gravity in m.s^-2
+
+//OUTPUT
+mprintf('The acceleration due to gravity is %3.2f m s^-2',g)
diff --git a/1985/CH1/EX1.3/chapter1_Example3.sce b/1985/CH1/EX1.3/chapter1_Example3.sce new file mode 100755 index 000000000..9d063382a --- /dev/null +++ b/1985/CH1/EX1.3/chapter1_Example3.sce @@ -0,0 +1,16 @@ +
+clc
+clear
+
+//INPUT DATA
+l=1.2;//Length of of bar in m
+
+//CALCULATIONS
+k=sqrt(l^2/12);//Radius of gyration in m
+T=sqrt(((k^2/(l/2))+(l/2))/9.8)*2*3.14;//Time period of the pendulum in s
+L=((9.8*T^2)/(4*3.14^2));//Length in m
+D=L-(l/2);//Another point where pendulum has same timeperiod in m
+
+//OUTPUT
+mprintf('The time period of pendulum is %3.3f s\nDistance of another point from centre of gravity on bar with same time period is %3.1f m',T,D)
+
diff --git a/1985/CH1/EX1.4/chapter1_Example4.sce b/1985/CH1/EX1.4/chapter1_Example4.sce new file mode 100755 index 000000000..bf03a209a --- /dev/null +++ b/1985/CH1/EX1.4/chapter1_Example4.sce @@ -0,0 +1,14 @@ +
+clc
+clear
+
+//INPUT DATA
+L=1;//Length of pendulum in m
+B=0.05;//Width of pendulum in m
+
+//CALCULATIONS
+k=sqrt((L^2+B^2)/12);//Radius of gyration in m
+D=((L/2)-k)*100;//distance of point of minimum time period from one end in cm
+
+//OUTPUT
+mprintf('The minimum time period is obtained at %3.2f cm',D)
|