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 /213/CH10/EX10.2/10_2.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 '213/CH10/EX10.2/10_2.sce')
-rwxr-xr-x | 213/CH10/EX10.2/10_2.sce | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/213/CH10/EX10.2/10_2.sce b/213/CH10/EX10.2/10_2.sce new file mode 100755 index 000000000..a40061a05 --- /dev/null +++ b/213/CH10/EX10.2/10_2.sce @@ -0,0 +1,17 @@ +//To find weight and coefficient of friction
+clc
+//Given:
+P1=1500,P2=1720 //N
+alpha1=12,alpha2=15 //degrees
+//Solution:
+//Refer Fig. 10.10
+//Effort applied parallel to the plane, P1=W*(sind(alpha1)+mu*cosd(alpha1)), or P1/W-mu*cosd(alpha1)=sind(alpha1) .....(i)
+//Effort applied parallel to the plane, P2=W*(sind(alpha2)+mu*cosd(alpha2)), or P2/W-mu*cosd(alpha2)=sind(alpha2) .....(ii)
+A=[P1 -cosd(alpha1); P2 -cosd(alpha2)]
+B=[sind(alpha1); sind(alpha2)]
+V=A \ B
+W=1/V(1)
+mu=V(2)
+//Results:
+printf("\n\n Coefficient of friction, mu = %.3f.\n",mu)
+printf(" Weight of the body, W = %d N.\n\n",W)
\ No newline at end of file |