summaryrefslogtreecommitdiff
path: root/24/CH8/EX8.3
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /24/CH8/EX8.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/CH8/EX8.3')
-rwxr-xr-x24/CH8/EX8.3/Example8_3.sce11
-rwxr-xr-x24/CH8/EX8.3/Example8_3_result.txt2
2 files changed, 13 insertions, 0 deletions
diff --git a/24/CH8/EX8.3/Example8_3.sce b/24/CH8/EX8.3/Example8_3.sce
new file mode 100755
index 000000000..1a37c1761
--- /dev/null
+++ b/24/CH8/EX8.3/Example8_3.sce
@@ -0,0 +1,11 @@
+//Given that
+h = 8.5 //in meter\
+g = 9.8 //in m/s^2
+
+//Sample Problem 8-3
+printf("**Sample Problem 8-3**\n")
+//Using conservation of energy
+//Change in Potential energy = Change in Kinetic energy
+//m* g* h = .5* m* v^2
+v = sqrt(2* g * h)
+printf("The velocity of child at the bottom will be %fm/s", v) \ No newline at end of file
diff --git a/24/CH8/EX8.3/Example8_3_result.txt b/24/CH8/EX8.3/Example8_3_result.txt
new file mode 100755
index 000000000..3ea1fedbe
--- /dev/null
+++ b/24/CH8/EX8.3/Example8_3_result.txt
@@ -0,0 +1,2 @@
+**Sample Problem 8-3**
+The velocity of child at the bottom will be 12.907362m/s \ No newline at end of file