diff options
author | prashantsinalkar | 2017-10-10 12:27:19 +0530 |
---|---|---|
committer | prashantsinalkar | 2017-10-10 12:27:19 +0530 |
commit | 7f60ea012dd2524dae921a2a35adbf7ef21f2bb6 (patch) | |
tree | dbb9e3ddb5fc829e7c5c7e6be99b2c4ba356132c /3775/CH4/EX4.2/Ex4_2.sce | |
parent | b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (diff) | |
download | Scilab-TBC-Uploads-7f60ea012dd2524dae921a2a35adbf7ef21f2bb6.tar.gz Scilab-TBC-Uploads-7f60ea012dd2524dae921a2a35adbf7ef21f2bb6.tar.bz2 Scilab-TBC-Uploads-7f60ea012dd2524dae921a2a35adbf7ef21f2bb6.zip |
initial commit / add all books
Diffstat (limited to '3775/CH4/EX4.2/Ex4_2.sce')
-rw-r--r-- | 3775/CH4/EX4.2/Ex4_2.sce | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/3775/CH4/EX4.2/Ex4_2.sce b/3775/CH4/EX4.2/Ex4_2.sce new file mode 100644 index 000000000..d25608094 --- /dev/null +++ b/3775/CH4/EX4.2/Ex4_2.sce @@ -0,0 +1,28 @@ +//Ex 4.2 page 158 + +clc; +clear; +close; + + +R=10;// ohm +Vs=230;// V +f=50;// Hz +nc=18;// conducting cycles +noff=32;// off cycles + +k=nc/(nc+noff);// duty ratio +Vor=Vs*sqrt(k);// V +Po=Vor**2/R;// W +Pi=Po;// W (losses are negligble) +Ior=Vor/R;//A +pf=Po/Vs/Ior;//W +Im=Vs*sqrt(2)/R;//A +Irms=Im*sqrt(k)/2;//A +Iav=k*Im/%pi;//A +printf('\n (a) rms output voltage = %.0f V', Vor) +printf('\n (b) Power output to load = %.1f W', Po) +printf('\n (c) Power input to regulator = %.1f W', Pi) +printf('\n (d) input power factor = %.1f ',pf) +printf('\n (e) average scr current = %.3f A', Iav) +printf('\n rms scr current = %.3f A', Irms) |