summaryrefslogtreecommitdiff
path: root/3886/CH2/EX2.7/Ex2_7.sce
diff options
context:
space:
mode:
Diffstat (limited to '3886/CH2/EX2.7/Ex2_7.sce')
-rw-r--r--3886/CH2/EX2.7/Ex2_7.sce10
1 files changed, 10 insertions, 0 deletions
diff --git a/3886/CH2/EX2.7/Ex2_7.sce b/3886/CH2/EX2.7/Ex2_7.sce
new file mode 100644
index 000000000..71b465ef7
--- /dev/null
+++ b/3886/CH2/EX2.7/Ex2_7.sce
@@ -0,0 +1,10 @@
+//Finding the third force F
+//Assume that the third force F makes an angle theta with x-axis
+//Resolving the forces we get
+//F*cosd(theta)=-225.9...(1) //N
+//F*sind(theta)=-408.9...(2) //N
+//Then (2)/(1) gives
+theta=atand(-408.9/-225.9) //degree
+F=sqrt(225.9^2+408.9^2) //N
+printf("The third force is F=%.1f N and makes an angle of theta=%.2f degree",F,theta)
+