summaryrefslogtreecommitdiff
path: root/1172/CH4/EX4.3/Example4_3.sce
diff options
context:
space:
mode:
Diffstat (limited to '1172/CH4/EX4.3/Example4_3.sce')
-rwxr-xr-x1172/CH4/EX4.3/Example4_3.sce16
1 files changed, 16 insertions, 0 deletions
diff --git a/1172/CH4/EX4.3/Example4_3.sce b/1172/CH4/EX4.3/Example4_3.sce
new file mode 100755
index 000000000..693c8b144
--- /dev/null
+++ b/1172/CH4/EX4.3/Example4_3.sce
@@ -0,0 +1,16 @@
+clc
+//Given that
+d1 = [5,-5,-4] // initial coordinate point of vector d
+d2 = [6,2,-2] // final coordinate point of vector d
+F1 = [10,-1,10] // first force acting on particle
+F2 = [4,5,6] // second force acting on particle
+F3 = [-2,1,-9] // third force acting on particle
+
+
+// sample Problem 3 Page No. 177
+printf("\n \n\n # Problem 3 # \n")
+d = d2 - d1 // d is vector of displacement
+F = F1 + F2 + F3 // F is resultant of all the force
+printf("Standard formula used is W = F*d \n ")
+W = F * d'
+printf(" \n Total work done is %d units ", W)