From b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b Mon Sep 17 00:00:00 2001 From: priyanka Date: Wed, 24 Jun 2015 15:03:17 +0530 Subject: initial commit / add all books --- 1835/CH2/EX2.3/Ex2_3.sce | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100755 1835/CH2/EX2.3/Ex2_3.sce (limited to '1835/CH2/EX2.3/Ex2_3.sce') diff --git a/1835/CH2/EX2.3/Ex2_3.sce b/1835/CH2/EX2.3/Ex2_3.sce new file mode 100755 index 000000000..ef6795950 --- /dev/null +++ b/1835/CH2/EX2.3/Ex2_3.sce @@ -0,0 +1,18 @@ +//CHAPTER 2 ILLUSTRATION 3 PAGE NO:58 +//TITLE:TRANSMISSION OF MOTION AND POWER BY BELTS AND PULLEYS +clc +clear +//============================================================================== +//input +d1=30//diameter of 1st shaft in cm +d2=50//diameter 2nd shaft in cm +pi=3.141 +c=500//centre distance between the shafts in cm +//============================================================================== +//calculation +L1=((d1+d2)*pi/2)+(2*c)+((d1+d2)^2)/(4*c)//lenth of cross belt +L2=((d1+d2)*pi/2)+(2*c)+((d1-d2)^2)/(4*c)//lenth of open belt +r=L1-L2//remedy +//============================================================================== +//OUTPUT +printf('length of cross belt is %3.3fcm \n length of open belt is %3.3f cm \n the length of the belt to be shortened is %3.0f cm',L1,L2,r) -- cgit