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 /2459/CH20/EX20.12/Ex20_12.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 '2459/CH20/EX20.12/Ex20_12.sce')
-rw-r--r-- | 2459/CH20/EX20.12/Ex20_12.sce | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/2459/CH20/EX20.12/Ex20_12.sce b/2459/CH20/EX20.12/Ex20_12.sce new file mode 100644 index 000000000..de84e1d7d --- /dev/null +++ b/2459/CH20/EX20.12/Ex20_12.sce @@ -0,0 +1,19 @@ +//chapter20
+//example20.12
+//page446
+
+Vz=8.3 // V
+Vbe=0.7 // V
+Rl=100 // ohm
+Rs=130 // ohm
+Vin=22 // V
+
+Vout=Vz+Vbe
+Il=Vout/Rl
+Is=(Vin-Vout)/Rs
+Ic=Is-Il
+
+printf("regulated output voltage = %.3f V \n",Vout)
+printf("load current = %.3f mA \n",Il*1000)
+printf("current through Rs = %.3f mA \n",Is*1000)
+printf("collector current = %.3f mA \n",Ic*1000)
|