diff options
author | priyanka | 2015-06-24 15:03:17 +0530 |
---|---|---|
committer | priyanka | 2015-06-24 15:03:17 +0530 |
commit | b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch) | |
tree | ab291cffc65280e58ac82470ba63fbcca7805165 /24/DEPENDENCIES/Example11_7.sce | |
download | Scilab-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/DEPENDENCIES/Example11_7.sce')
-rwxr-xr-x | 24/DEPENDENCIES/Example11_7.sce | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/24/DEPENDENCIES/Example11_7.sce b/24/DEPENDENCIES/Example11_7.sce new file mode 100755 index 000000000..6eca1a825 --- /dev/null +++ b/24/DEPENDENCIES/Example11_7.sce @@ -0,0 +1,19 @@ +//Given that
+M = 2.5 //in kg
+R = 0.20 //i meter
+m = 1.2 //in kg
+g = 9.8 //in m/s^2
+I = 0.5*M*R^2
+
+//Sample Problem 11-7
+printf("**Sample Problem 11-7**\n")
+//mg - T = ma
+//T*R = I*a/R
+//T = I*a/R^2
+//on adding =>
+a = m*g/(m+I/R^2)
+T = m*(g-a)
+alpha = a/R
+printf("The acceleration of the block is %fm/s^2\n", a)
+printf("The angular acceleration of the pulley is %frad/s^2\n", alpha)
+printf("The tension in the string is %fN", T)
\ No newline at end of file |