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 /3204/CH14/EX14.23/Ex14_23.sce | |
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 '3204/CH14/EX14.23/Ex14_23.sce')
-rw-r--r-- | 3204/CH14/EX14.23/Ex14_23.sce | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/3204/CH14/EX14.23/Ex14_23.sce b/3204/CH14/EX14.23/Ex14_23.sce new file mode 100644 index 000000000..95fcf24f1 --- /dev/null +++ b/3204/CH14/EX14.23/Ex14_23.sce @@ -0,0 +1,10 @@ +// Initilization of variables
+P=40 // N // weight on puley r_1
+Q=60 // N // weight on pulley r_2
+g=9.81 // m/s^2 // acc due to gravity
+// Calculations
+// The eq'n for acceleration of pulley Pi.e a_p is,
+a_p=(((2*P)-(Q))/((4*P)+(Q)))*2*g // m/s^2
+// Results
+clc
+printf('The downward acceleration of P is %f m/s^2 \n',a_p)
|