summaryrefslogtreecommitdiff
path: root/24/CH9/EX9.9/Example9_9.sce
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /24/CH9/EX9.9/Example9_9.sce
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/CH9/EX9.9/Example9_9.sce')
-rwxr-xr-x24/CH9/EX9.9/Example9_9.sce12
1 files changed, 12 insertions, 0 deletions
diff --git a/24/CH9/EX9.9/Example9_9.sce b/24/CH9/EX9.9/Example9_9.sce
new file mode 100755
index 000000000..ec1d9625a
--- /dev/null
+++ b/24/CH9/EX9.9/Example9_9.sce
@@ -0,0 +1,12 @@
+//Given that
+m = 4.0* 10^-6 //in kg
+l = 0.77 * 10^-3 //in meter
+h = 0.30 //in m
+g = 9.8 //in m/s^2
+
+//Sample Problem 9-9
+printf("**Sample Problem 9-9**\n")
+//Using Work-Energy theorem
+//F * l = mgh
+F = m* g* h/l
+printf("The external force on the betal is %fN", F) \ No newline at end of file