summaryrefslogtreecommitdiff
path: root/1067/CH44/EX44.04.a/44_04_a.sce
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /1067/CH44/EX44.04.a/44_04_a.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 '1067/CH44/EX44.04.a/44_04_a.sce')
-rwxr-xr-x1067/CH44/EX44.04.a/44_04_a.sce14
1 files changed, 14 insertions, 0 deletions
diff --git a/1067/CH44/EX44.04.a/44_04_a.sce b/1067/CH44/EX44.04.a/44_04_a.sce
new file mode 100755
index 000000000..75f4ba37f
--- /dev/null
+++ b/1067/CH44/EX44.04.a/44_04_a.sce
@@ -0,0 +1,14 @@
+clear;
+clc;
+j=50e2;
+r=100e6;
+f=60;
+p=2;
+g=10;
+n=120*f/p;
+w=2*3.14*n/60;
+ke=.5*j*w^2*100;
+h=ke/r;
+m=g*h/(180*f)
+m=round(m*1000)/1000;
+mprintf("the value of angulr momentum M=%fMJs/ele.degrees\nthe Inertia Constant H=%dMJ/MVA",m,round(h));