diff options
Diffstat (limited to '213/CH10/EX10.1')
-rwxr-xr-x | 213/CH10/EX10.1/10_1.sce | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/213/CH10/EX10.1/10_1.sce b/213/CH10/EX10.1/10_1.sce new file mode 100755 index 000000000..7045af6e9 --- /dev/null +++ b/213/CH10/EX10.1/10_1.sce @@ -0,0 +1,22 @@ +//To find weight and coefficient of friction
+clc
+//Given:
+theta=30 //degrees
+P1=180 //Pulling force, N
+P2=220 //Pushing force, N
+//Solution:
+//Resolving the forces horizontally for the pull of 180N
+F1=P1*cosd(theta) //N
+//Resolving the forces for the push of 220 N
+F2=P2*cosd(theta) //N
+//Calculating the coefficient of friction
+//For the pull of 180N, F1=mu*W-90*mu, or F1/mu-W=-90 .....(i)
+//For the push of 220N, F2=W*mu+110*mu, or F2/mu-W=110 .....(ii)
+A=[F1 -1; F2 -1]
+B=[-90; 110]
+V=A \ B
+mu=1/V(1)
+W=V(2)
+//Results:
+printf("\n\n The weight of the body, W = %d N.\n",W)
+printf(" The coefficient of friction, mu = %.4f.\n\n",mu)
\ No newline at end of file |