summaryrefslogtreecommitdiff
path: root/1205/CH3/EX3.3/S_3_3.sce
diff options
context:
space:
mode:
Diffstat (limited to '1205/CH3/EX3.3/S_3_3.sce')
-rw-r--r--1205/CH3/EX3.3/S_3_3.sce16
1 files changed, 16 insertions, 0 deletions
diff --git a/1205/CH3/EX3.3/S_3_3.sce b/1205/CH3/EX3.3/S_3_3.sce
new file mode 100644
index 000000000..8dc4bbd80
--- /dev/null
+++ b/1205/CH3/EX3.3/S_3_3.sce
@@ -0,0 +1,16 @@
+clc;
+// Given data
+P=40; // N , Force applied to shift lever
+alpha=25;// degree, angle made by force P with -ve X axis
+alpha=alpha*%pi/180;// Conversion of angle into radian
+x=0.2;//m , Hirizontal distance of A from B
+y=0.6;//m, Vertical distance of A from B
+
+
+Px=P*cos(theta);// N , horizontal component
+Py=P*sin(theta);//N , Vertical component
+
+M_B=-x*Px-y*Py//N.m , here negative signs are taken as each component creates moment clockwise
+printf("The moment of force P about B is %.2f N.m . -ve sign shows its acting clockwise\n",M_B);
+
+