diff options
author | prashantsinalkar | 2017-10-10 12:27:19 +0530 |
---|---|---|
committer | prashantsinalkar | 2017-10-10 12:27:19 +0530 |
commit | 7f60ea012dd2524dae921a2a35adbf7ef21f2bb6 (patch) | |
tree | dbb9e3ddb5fc829e7c5c7e6be99b2c4ba356132c /1205/CH2/EX2.2/S_2_2.sce | |
parent | b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (diff) | |
download | Scilab-TBC-Uploads-7f60ea012dd2524dae921a2a35adbf7ef21f2bb6.tar.gz Scilab-TBC-Uploads-7f60ea012dd2524dae921a2a35adbf7ef21f2bb6.tar.bz2 Scilab-TBC-Uploads-7f60ea012dd2524dae921a2a35adbf7ef21f2bb6.zip |
initial commit / add all books
Diffstat (limited to '1205/CH2/EX2.2/S_2_2.sce')
-rw-r--r-- | 1205/CH2/EX2.2/S_2_2.sce | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/1205/CH2/EX2.2/S_2_2.sce b/1205/CH2/EX2.2/S_2_2.sce new file mode 100644 index 000000000..d20edfac6 --- /dev/null +++ b/1205/CH2/EX2.2/S_2_2.sce @@ -0,0 +1,38 @@ +clc;
+
+R=25; // kN Magnitude of Resultant vector
+alpha=45;//degree
+// T1 and T2 are tensions in rope 1 and rope 2 respectively
+A=30;// degree , Angle between vector T1 and resultant
+B=alpha;// degree , Angle between vector T2 and resultant
+C=180-(A+B);// degree , Angle between vector T1 and T2
+
+
+// conversion of angles into radian
+A=A*%pi/180;
+B=B*%pi/180;
+C=C*%pi/180;
+
+
+// sin(A)/T2 == sin(B)/T1 == sin(C)/R .............. sine law
+
+T1=(R*sin(B))/sin(C);//kN
+T2=(R*sin(A))/sin(C);//kN
+
+
+printf("Tension in rope 1 is T1=%.2f kN and in rope 2 is T2=%.2f kN \n",T1,T2);
+
+
+// Minimum value of T2 occcurs when T1 and T2 are perpendicular to each other i.e C=90 degree
+C=90;//degree
+A=30;// degree
+B=180-(A+C);//degrees
+alpha=B;//degrees
+B=B*%pi/180;// radian
+T2=R*sin(B);// kN
+T1=R*cos(B);//kN
+printf("Minimum tension in rope 2 is T2=%.2f kN \n",T2);
+printf("corrosponding T1=%.2f kN \n ",T1);
+printf("alpha=%.2f degrees",alpha);
+
+
|