summaryrefslogtreecommitdiff
path: root/1205/CH2/EX2.7.2
diff options
context:
space:
mode:
Diffstat (limited to '1205/CH2/EX2.7.2')
-rw-r--r--1205/CH2/EX2.7.2/E2_7_2.sce11
1 files changed, 11 insertions, 0 deletions
diff --git a/1205/CH2/EX2.7.2/E2_7_2.sce b/1205/CH2/EX2.7.2/E2_7_2.sce
new file mode 100644
index 000000000..be8584648
--- /dev/null
+++ b/1205/CH2/EX2.7.2/E2_7_2.sce
@@ -0,0 +1,11 @@
+clc;
+F=300 // N , given force
+AB=sqrt(8^2+6^2);// m Length of AB
+cos_alpha=8/AB;
+sin_alpha=-6/AB;
+Fx=F*cos_alpha;//N, Horizontal component
+Fy=F*sin_alpha;// N, Vertical Component
+
+printf("Horizontal component of F is %.2f N\n",Fx);
+printf("Vertial component of F is %.2f N\n",Fy);
+printf("We may write F as \n F = %.2f i + %.2f j",Fx,Fy);