summaryrefslogtreecommitdiff
path: root/3792/CH5/EX5.2/Ex5_2.sce
diff options
context:
space:
mode:
authorprashantsinalkar2017-10-10 12:27:19 +0530
committerprashantsinalkar2017-10-10 12:27:19 +0530
commit7f60ea012dd2524dae921a2a35adbf7ef21f2bb6 (patch)
treedbb9e3ddb5fc829e7c5c7e6be99b2c4ba356132c /3792/CH5/EX5.2/Ex5_2.sce
parentb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (diff)
downloadScilab-TBC-Uploads-7f60ea012dd2524dae921a2a35adbf7ef21f2bb6.tar.gz
Scilab-TBC-Uploads-7f60ea012dd2524dae921a2a35adbf7ef21f2bb6.tar.bz2
Scilab-TBC-Uploads-7f60ea012dd2524dae921a2a35adbf7ef21f2bb6.zip
initial commit / add all books
Diffstat (limited to '3792/CH5/EX5.2/Ex5_2.sce')
-rw-r--r--3792/CH5/EX5.2/Ex5_2.sce24
1 files changed, 24 insertions, 0 deletions
diff --git a/3792/CH5/EX5.2/Ex5_2.sce b/3792/CH5/EX5.2/Ex5_2.sce
new file mode 100644
index 000000000..eaf08263b
--- /dev/null
+++ b/3792/CH5/EX5.2/Ex5_2.sce
@@ -0,0 +1,24 @@
+// SAMPLE PROBLEM 5/2
+clc;clear;funcprot(0);
+// Given data
+v=3;// ft/sec
+s=4;// ft
+d_C=48;// inch
+d_B=36;// inch
+d_A=12;// inch
+r_A=d_A/2;// inch
+r_C=d_C/2;// inch
+r_B=d_B/2;// inch
+
+// Calculation
+// (a)
+a=v^2/(2*s);// ft/sec^2
+a_t=a;// ft/sec^2
+a_n=v^2/(r_C/12);// ft/sec^2
+a_C=sqrt(a_n^2+a_t^2);// ft/sec^2
+// (b)
+omega_B=v/(r_C/12);// rad/sec
+alpha_B=a_t/(r_C/12);// rad/sec^2
+omega_A=(r_B/r_A)*omega_B;// rad/sec CW
+alpha_A=(r_B/r_A)*alpha_B;// rad/sec^2 CW
+printf("\n(a)The acceleration of point C on the cable in contact with the drum,a_C=%1.2f ft/sec^2 \n(b)The angular velocity and angular accelerationof the pinion A,omega_A=%1.1f rad/sec CW and alpha_A=%1.3f rad/sec^2 CW",a_C,omega_A,alpha_A);