summaryrefslogtreecommitdiff
path: root/3862/CH1/EX1.2/Ex1_2.sce
diff options
context:
space:
mode:
Diffstat (limited to '3862/CH1/EX1.2/Ex1_2.sce')
-rw-r--r--3862/CH1/EX1.2/Ex1_2.sce13
1 files changed, 13 insertions, 0 deletions
diff --git a/3862/CH1/EX1.2/Ex1_2.sce b/3862/CH1/EX1.2/Ex1_2.sce
new file mode 100644
index 000000000..4bbebabfb
--- /dev/null
+++ b/3862/CH1/EX1.2/Ex1_2.sce
@@ -0,0 +1,13 @@
+clear
+//components of force in horizontal and vertical components.
+//
+//variable declaration
+
+F= 20 //force in wire, KN
+
+//calculations
+Fx= F*cos(60*%pi/180)
+Fy= F*sin(60*%pi/180)
+
+printf("\n %0.3f KN totheleft ",Fx)
+printf("\n %0.3f KN downward ",Fy)