summaryrefslogtreecommitdiff
path: root/3204/CH14/EX14.19
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /3204/CH14/EX14.19
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/CH14/EX14.19')
-rw-r--r--3204/CH14/EX14.19/Ex14_19.sce12
1 files changed, 12 insertions, 0 deletions
diff --git a/3204/CH14/EX14.19/Ex14_19.sce b/3204/CH14/EX14.19/Ex14_19.sce
new file mode 100644
index 000000000..9218ea01d
--- /dev/null
+++ b/3204/CH14/EX14.19/Ex14_19.sce
@@ -0,0 +1,12 @@
+// Initilization of variables
+M_1=150 // kg // mass of the 1st block
+M_2=100 // kg // mass of the 2nd block
+mu=0.2 // coefficient of friction between the blocks and the inclined plane
+g=9.81 // m/s^2 // acc due to gravity
+theta=45 // degree // inclination of the surface
+// Calculations
+// substuting the value of eq'n 3 in eq'n 1 & solving for T,we get value of T as,
+T=((M_1*M_2*g)*(sind(theta)+2-(mu*cosd(theta))))/((4*M_1)+(M_2)) // N
+// Results
+clc
+printf('The tension in the string during the motion of the system is %f N \n',T)