summaryrefslogtreecommitdiff
path: root/24/CH11/EX11.8/Example11_8.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.8/Example11_8.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.8/Example11_8.sce')
-rwxr-xr-x24/CH11/EX11.8/Example11_8.sce19
1 files changed, 19 insertions, 0 deletions
diff --git a/24/CH11/EX11.8/Example11_8.sce b/24/CH11/EX11.8/Example11_8.sce
new file mode 100755
index 000000000..71798585c
--- /dev/null
+++ b/24/CH11/EX11.8/Example11_8.sce
@@ -0,0 +1,19 @@
+//Given that
+M = 80 //in kg
+d1 = 0.30 //in meter
+alpha = 6 //in rad/s^2
+I = 15 //in kg.m^2
+g = 9.8 //in m/s^2
+
+//Sample Problem 11-8a
+printf("**Sample Problem 11-8a**\n")
+F = I*alpha/d1
+printf("The magnitude of F is %fN\n", F)
+
+//Sample Problem 11-8b
+printf("\n**Sample Problem 11-8b**\n")
+d2 = 0.12 //in meter
+//F*d1 - M*g*d2 = I*alpha
+F = I*alpha + M*g*d2
+F = F/d1
+printf("The magnitude of F in second case is %fN", F) \ No newline at end of file