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 /416/CH12/EX12.1/example12_1pp.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 '416/CH12/EX12.1/example12_1pp.sce')
-rwxr-xr-x | 416/CH12/EX12.1/example12_1pp.sce | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/416/CH12/EX12.1/example12_1pp.sce b/416/CH12/EX12.1/example12_1pp.sce new file mode 100755 index 000000000..4eae44f79 --- /dev/null +++ b/416/CH12/EX12.1/example12_1pp.sce @@ -0,0 +1,19 @@ +clc
+clear
+disp('example 12 1')
+p=4000 //given kva of alternator
+fnl1=50 //frequency on no load
+fl1=47.5 //frequency on load
+fnl2=50 //frequency on no load on second alternator
+fl2=48 //frequency on load on second alternator
+l=6000 //load given two to alternator
+df1=fnl1-fl1 //change in 1 alternator frequency
+df2=fnl2-fl2 //change in 2 alternator frequency
+l1=df2*(l)/(df2+df1) //load on 1 alternator
+disp('a')
+l2=l-l1
+printf(" load on 1 alternator %.2fkW \n load on 2 alternator %.2fkW",l1,l2)
+ml1=df2*p/df1 //load on 1 machine when machine 2 on full load
+ll=ml1+p
+disp('b')
+printf(" load supplied by machine 1 with full load on machine2 %dkW \n total load is %dkW",ml1,l1)
\ No newline at end of file |