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 /1076/CH13/EX13.19/13_19.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 '1076/CH13/EX13.19/13_19.sce')
-rwxr-xr-x | 1076/CH13/EX13.19/13_19.sce | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/1076/CH13/EX13.19/13_19.sce b/1076/CH13/EX13.19/13_19.sce new file mode 100755 index 000000000..59de3cf68 --- /dev/null +++ b/1076/CH13/EX13.19/13_19.sce @@ -0,0 +1,17 @@ +clear
+clc
+
+Pm=2
+Pi=1
+H=6
+G=1
+f=50
+p=Pi/Pm
+M=G*H/(%pi*f)
+d0=asin(p)
+
+dcc=acos(((p*(%pi - (2*d0)))- (Pi*cos(d0)))/(Pm-Pi))
+mprintf("Critical Clearing angle = %.4f rad\n\n", dcc)
+
+tcc=sqrt(2*M*(dcc-d0)/Pi)
+mprintf("Critical Clearing time = %.3f sec = %.2f cycles", tcc , tcc*50)
|