summaryrefslogtreecommitdiff
path: root/24/CH11/EX11.10/Example11_10.sce
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /24/CH11/EX11.10/Example11_10.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/CH11/EX11.10/Example11_10.sce')
-rwxr-xr-x24/CH11/EX11.10/Example11_10.sce14
1 files changed, 14 insertions, 0 deletions
diff --git a/24/CH11/EX11.10/Example11_10.sce b/24/CH11/EX11.10/Example11_10.sce
new file mode 100755
index 000000000..ab57e591b
--- /dev/null
+++ b/24/CH11/EX11.10/Example11_10.sce
@@ -0,0 +1,14 @@
+//Given that
+m = 1 //(say)
+R = 0.15 //in meter
+L = 2.0 * R
+g = 9.8 //in m/s^2
+
+//Sample Problem 11-10
+printf("**Sample Problem 11-10**\n")
+I = 0.5*m*R^2 + m*L^2/12 + m*(L/2+R)^2
+deltaU = m* g* (L + 2*R)
+//deltaK = 0.5*I*w^2
+//therefore-
+w = sqrt(deltaU/(0.5*I))
+printf("The angular speed is equal to %frad/s", w) \ No newline at end of file