summaryrefslogtreecommitdiff
path: root/3648/CH15/EX15.3
diff options
context:
space:
mode:
Diffstat (limited to '3648/CH15/EX15.3')
-rw-r--r--3648/CH15/EX15.3/Ex15_3.sce10
-rw-r--r--3648/CH15/EX15.3/Ex15_3.txt2
2 files changed, 12 insertions, 0 deletions
diff --git a/3648/CH15/EX15.3/Ex15_3.sce b/3648/CH15/EX15.3/Ex15_3.sce
new file mode 100644
index 000000000..198f244b7
--- /dev/null
+++ b/3648/CH15/EX15.3/Ex15_3.sce
@@ -0,0 +1,10 @@
+//Example 15_3
+clc();
+clear;
+//To find the resultant force
+f1=6 //Units in N
+f2=18 //Units in N
+f=sqrt(f1^2+f2^2) //Units in N
+theta=atan(f2/f1)*180/%pi //Units in degrees
+printf("The resultant force is f=%d N \n The resultant angle is theta=%.1f degrees",f,theta)
+//In text book answer printed wrong as f=19 N correct answer is f=18N
diff --git a/3648/CH15/EX15.3/Ex15_3.txt b/3648/CH15/EX15.3/Ex15_3.txt
new file mode 100644
index 000000000..bc72b4d52
--- /dev/null
+++ b/3648/CH15/EX15.3/Ex15_3.txt
@@ -0,0 +1,2 @@
+The resultant force is f=18 N
+ The resultant angle is theta=71.6 degrees \ No newline at end of file