summaryrefslogtreecommitdiff
path: root/3886/CH2/EX2.2/Ex2_2.sce
diff options
context:
space:
mode:
Diffstat (limited to '3886/CH2/EX2.2/Ex2_2.sce')
-rw-r--r--3886/CH2/EX2.2/Ex2_2.sce5
1 files changed, 5 insertions, 0 deletions
diff --git a/3886/CH2/EX2.2/Ex2_2.sce b/3886/CH2/EX2.2/Ex2_2.sce
new file mode 100644
index 000000000..499bc0e94
--- /dev/null
+++ b/3886/CH2/EX2.2/Ex2_2.sce
@@ -0,0 +1,5 @@
+//Horizontal and Vertical components of Force
+//Resolving 20 kN force we get
+Fx=20*cosd(60) //kN (towards left)
+Fy=20*sind(60) //kN (Downward)
+printf("Horizontal and vertical components respectively are:-\n Fx=%.2f kN (towards left)\n Fy=%.2f kN (Downward)",Fx,Fy)