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 /226/CH18/EX18.11/example11_sce.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 '226/CH18/EX18.11/example11_sce.sce')
-rwxr-xr-x | 226/CH18/EX18.11/example11_sce.sce | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/226/CH18/EX18.11/example11_sce.sce b/226/CH18/EX18.11/example11_sce.sce new file mode 100755 index 000000000..e9d941311 --- /dev/null +++ b/226/CH18/EX18.11/example11_sce.sce @@ -0,0 +1,14 @@ +//chapter 18
+//example 18.11
+//page 788
+printf("\n")
+printf("given")
+Vo=10;Io=1;Vce=7;Vf=1;
+Po=Vo*Io
+disp(" linear regulator")
+Pi=Po+(Vce*Io)
+n=(Po*100)/Pi//efficiency
+disp(" switching regulator")
+Vce=1;
+Pi=Po+Io*(Vce+Vf)
+n=(Po*100)/Pi//efficiency
\ No newline at end of file |