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.4/S_2_4.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.4/S_2_4.sce')
-rw-r--r-- | 1205/CH2/EX2.4/S_2_4.sce | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/1205/CH2/EX2.4/S_2_4.sce b/1205/CH2/EX2.4/S_2_4.sce new file mode 100644 index 000000000..5776956b9 --- /dev/null +++ b/1205/CH2/EX2.4/S_2_4.sce @@ -0,0 +1,25 @@ +clc;
+
+W=8000; // N weight of automobile
+alpha=2;//degree
+// TAB and TAC are tensions in cable AB and cable AC respectively
+A=90+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)/TAB == sin(B)/TAC == sin(C)/W .............. sine law
+
+
+TAB=(W*sin(A))/sin(C);//N
+TAC=(W*sin(B))/sin(C);//N
+
+printf("Tension in cable AB is TAB=%.2f N and in Cable AC is TAC=%.2f N \n",TAB,TAC);
+
+
|