summaryrefslogtreecommitdiff
path: root/24/CH7/EX7.3
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /24/CH7/EX7.3
downloadScilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.gz
Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.bz2
Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.zip
initial commit / add all books
Diffstat (limited to '24/CH7/EX7.3')
-rwxr-xr-x24/CH7/EX7.3/Example7_3.sce15
-rwxr-xr-x24/CH7/EX7.3/Example7_3_result.txt5
2 files changed, 20 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
diff --git a/24/CH7/EX7.3/Example7_3_result.txt b/24/CH7/EX7.3/Example7_3_result.txt
new file mode 100755
index 000000000..d44d1d4e0
--- /dev/null
+++ b/24/CH7/EX7.3/Example7_3_result.txt
@@ -0,0 +1,5 @@
+**Sample Problem 7-3a**
+The work done is equal to -6J
+
+**Sample Problem 7-3b**
+The final kinetic energy of the crate is 4J \ No newline at end of file