diff options
author | prashantsinalkar | 2017-10-10 12:38:01 +0530 |
---|---|---|
committer | prashantsinalkar | 2017-10-10 12:38:01 +0530 |
commit | f35ea80659b6a49d1bb2ce1d7d002583f3f40947 (patch) | |
tree | eb72842d800ac1233e9d890e020eac5fd41b0b1b /3041 | |
parent | 7f60ea012dd2524dae921a2a35adbf7ef21f2bb6 (diff) | |
download | Scilab-TBC-Uploads-f35ea80659b6a49d1bb2ce1d7d002583f3f40947.tar.gz Scilab-TBC-Uploads-f35ea80659b6a49d1bb2ce1d7d002583f3f40947.tar.bz2 Scilab-TBC-Uploads-f35ea80659b6a49d1bb2ce1d7d002583f3f40947.zip |
updated the code
Diffstat (limited to '3041')
-rwxr-xr-x | 3041/CH2/EX2.10/Ex2_10.sce | 4 | ||||
-rwxr-xr-x | 3041/CH8/EX8.7/Ex8_7.sce | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/3041/CH2/EX2.10/Ex2_10.sce b/3041/CH2/EX2.10/Ex2_10.sce index 0c6280e52..e9ce9c502 100755 --- a/3041/CH2/EX2.10/Ex2_10.sce +++ b/3041/CH2/EX2.10/Ex2_10.sce @@ -22,5 +22,5 @@ Ie1=(beeta+1)*Ib1 //emitter current(mA) Vce1=-(Vee-(Ie1*Re)-(Rc*Ic1)) //collector to emitter voltage(V) //Result -printf ("collector current and Vce for beeta=160 are %.2f mA and V" ,Ic,Vce) -printf ("Ic and Vce for beeta=80 are %.2f mA and V",Ic,Vce1) +printf ("collector current and Vce for beeta=160 are %.2f mA and %.2f" ,Ic,Vce) +printf ("Ic and Vce for beeta=80 are %.2f mA and %.2f",Ic,Vce1)
\ No newline at end of file diff --git a/3041/CH8/EX8.7/Ex8_7.sce b/3041/CH8/EX8.7/Ex8_7.sce index 8f4909ff8..9524775e6 100755 --- a/3041/CH8/EX8.7/Ex8_7.sce +++ b/3041/CH8/EX8.7/Ex8_7.sce @@ -5,7 +5,7 @@ V=240 //dc source(V) d=17/50. //duty cycle d1=0.6 //duty cycle eta1=0.8 //efficiency - +Vdc = 12 //Calculations P=VL*I //average load power(W) Isav=(1*d)/2 //average supply current(A) @@ -18,4 +18,4 @@ Po=Il*Vdc //power output(W) //Results printf ("regulator efficiency is %.1f %%",eta) printf ("average supply current is %.1f A",Il) -printf ("power output is %.1f W",Po) +printf ("power output is %.1f W",Po)
\ No newline at end of file |