summaryrefslogtreecommitdiff
path: root/3886/CH2/EX2.6/Ex2_6.sce
diff options
context:
space:
mode:
authorprashantsinalkar2018-02-03 11:01:52 +0530
committerprashantsinalkar2018-02-03 11:01:52 +0530
commit7bc77cb1ed33745c720952c92b3b2747c5cbf2df (patch)
tree449d555969bfd7befe906877abab098c6e63a0e8 /3886/CH2/EX2.6/Ex2_6.sce
parentd1e070fe2d77c8e7f6ba4b0c57b1b42e26349059 (diff)
downloadScilab-TBC-Uploads-master.tar.gz
Scilab-TBC-Uploads-master.tar.bz2
Scilab-TBC-Uploads-master.zip
Added new codeHEADmaster
Diffstat (limited to '3886/CH2/EX2.6/Ex2_6.sce')
-rw-r--r--3886/CH2/EX2.6/Ex2_6.sce12
1 files changed, 12 insertions, 0 deletions
diff --git a/3886/CH2/EX2.6/Ex2_6.sce b/3886/CH2/EX2.6/Ex2_6.sce
new file mode 100644
index 000000000..f47c7d20f
--- /dev/null
+++ b/3886/CH2/EX2.6/Ex2_6.sce
@@ -0,0 +1,12 @@
+//Determine Resultant Force
+//From given data
+T=1200 //N
+F=100 //N
+N=500 //N
+W=1000 //N
+theta=60 //degree
+//Taking co-ordinate system parallel and perpendicular to plane as x and y axis and resolving the forces
+Fx=T-F-W*sind(theta) //N
+Fy=N-W*cosd(theta) //N
+R=sqrt(Fx^2+Fy^2)
+printf("The resultant has magnitude R=%.0f N directed up the plane",R)