summaryrefslogtreecommitdiff
path: root/3137/CH1/EX1.1/Ex1_1.sce
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /3137/CH1/EX1.1/Ex1_1.sce
downloadScilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.gz
Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.bz2
Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.zip
initial commit / add all books
Diffstat (limited to '3137/CH1/EX1.1/Ex1_1.sce')
-rwxr-xr-x3137/CH1/EX1.1/Ex1_1.sce13
1 files changed, 13 insertions, 0 deletions
diff --git a/3137/CH1/EX1.1/Ex1_1.sce b/3137/CH1/EX1.1/Ex1_1.sce
new file mode 100755
index 000000000..8c2b19f99
--- /dev/null
+++ b/3137/CH1/EX1.1/Ex1_1.sce
@@ -0,0 +1,13 @@
+//Initialisation of Variables
+f1=120 //lb
+f2=100 //lb
+theta=((60*%pi)/180) //radians
+//Calculations
+R=sqrt(120^2+100^2-(2*120*100*cos(theta))) //Applying Thr rule of Cosines
+alpha1=(((asin(120*sin(theta)/111))*180)/%pi) //Applying the Law of Sines
+alpha=alpha1+270 //As the vector lies in the fourth Quadrant by obsrevaton
+//Results
+clc
+printf('The Resultant of The force system is equal to:%f N\n ',R ) //lb
+printf('The Resultant is at:%f degrees',alpha) //degrees
+