summaryrefslogtreecommitdiff
path: root/3204/CH7/EX7.2/Ex7_2.sce
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /3204/CH7/EX7.2/Ex7_2.sce
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 '3204/CH7/EX7.2/Ex7_2.sce')
-rw-r--r--3204/CH7/EX7.2/Ex7_2.sce16
1 files changed, 16 insertions, 0 deletions
diff --git a/3204/CH7/EX7.2/Ex7_2.sce b/3204/CH7/EX7.2/Ex7_2.sce
new file mode 100644
index 000000000..781b1f118
--- /dev/null
+++ b/3204/CH7/EX7.2/Ex7_2.sce
@@ -0,0 +1,16 @@
+// Initilization of variables
+d1=0.6 //m // diameter of larger pulley
+d2=0.3 //m // diameter of smaller pulley
+d=3.5 //m // separation between the pulleys
+pie=3.14
+// Calculations
+r1=d1/2 //m // radius of larger pulley
+r2=d2/2 //m // radius of smaller pulley
+theta=asind((r1+r2)/d) //degree
+// Angle of lap for both the pulleys is same, i.e
+beta=180+(2*theta) // degree
+L=((pie*(r1+r2))+(2*d)+((r1-r2)^2/d)) //cm // Length of the belt
+// Results
+clc
+printf('The angle of lap for the pulley is %f degree \n',beta)
+printf('The length of pulley required is %f m \n',L)