summaryrefslogtreecommitdiff
path: root/24/CH7/EX7.3/Example7_3.sce
diff options
context:
space:
mode:
Diffstat (limited to '24/CH7/EX7.3/Example7_3.sce')
-rwxr-xr-x24/CH7/EX7.3/Example7_3.sce15
1 files changed, 15 insertions, 0 deletions
diff --git a/24/CH7/EX7.3/Example7_3.sce b/24/CH7/EX7.3/Example7_3.sce
new file mode 100755
index 000000000..6ada35f38
--- /dev/null
+++ b/24/CH7/EX7.3/Example7_3.sce
@@ -0,0 +1,15 @@
+//Given that
+d = [-3, 0] //in meter
+F = [2, -6] //in N
+
+//Sample Problem 7-3a
+printf("**Sample Problem 7-3a**\n")
+W = F * d'
+printf("The work done is equal to %dJ\n", W)
+
+//Sample Problem 7-3b
+printf("\n**Sample Problem 7-3b**\n")
+Ki = 10 //in J
+//Using work energy theorem
+Kf = Ki + W
+printf("The final kinetic energy of the crate is %dJ", Kf) \ No newline at end of file