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 /3754/CH20/EX20.17 | |
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 '3754/CH20/EX20.17')
-rw-r--r-- | 3754/CH20/EX20.17/20_17.sce | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/3754/CH20/EX20.17/20_17.sce b/3754/CH20/EX20.17/20_17.sce new file mode 100644 index 000000000..f32161a16 --- /dev/null +++ b/3754/CH20/EX20.17/20_17.sce @@ -0,0 +1,29 @@ +clear//
+
+//Variables
+
+IZmin = 0 //Minimun Zener current (in Ampere)
+ILmax = 2.0 //Maximum load current (in Ampere)
+VL = 12.0 //Voltage across load (in volts)
+VSmin = 15.0 //Minimum Input voltage (in volts)
+VSmax = 20.0 //Maximum Input Voltage (in volts)
+beta = 100 //common emitter current gain
+VBE = 0.5 //Voltage between base-emitter junction (in volts)
+VZ = 12.5 //Voltage across zener diode (in volts)
+IZmin = 1.0 * 10**-3 //Current through Zener diode
+ICmax = ILmax //Maximum Collector current (in Ampere)
+
+//Calculation
+
+IBmax = ICmax / beta //Maximum collector current
+IR = IBmax + IZmin //Current through resistance R (in Ampere)
+Rmax = (VSmin - VZ)/ IR //Maximum value of resistance R (in ohm)
+IZmax = (VSmax - VZ)/ Rmax //Maximum value of Zener current (in Ampere)
+PZmax = VZ * IZmax //Maximum power dissipation in Zener Diode (in watt)
+PRmax = (VSmax - VZ) * IZmax //Maximum power dissipated in Resistance R (in watt)
+VCEmax = VSmax - VL //Maximum value of collector-to-emitter voltage (in volts)
+PDmax = VCEmax * ILmax //Maximum power dissipation of the transistor (in watt)
+
+//Result
+
+printf("\n Maximum value of R is %0.0f ohm.\nMaximum power dissipation of the zener diode is %0.2f W.\nMaximum power dissipation of resistance R is %0.2f W.\nMaximum power dissipation of the transistor is %0.3f W.",Rmax,PZmax,PRmax,PDmax)
|