diff options
Diffstat (limited to '1850/CH1/EX1.16/exa_1_16.sce')
-rwxr-xr-x | 1850/CH1/EX1.16/exa_1_16.sce | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/1850/CH1/EX1.16/exa_1_16.sce b/1850/CH1/EX1.16/exa_1_16.sce new file mode 100755 index 000000000..dd3fce637 --- /dev/null +++ b/1850/CH1/EX1.16/exa_1_16.sce @@ -0,0 +1,16 @@ +// Exa 1.16
+clc;
+clear;
+close;
+// Given data
+V_CC=15;// in volt
+V_BE=0.7;// in volt
+R_REF= 2.2;// in k ohm
+R_REF= R_REF*10^3;// in ohm
+Bita=220;
+I_REF= (V_CC-V_BE)/R_REF;// in amp
+I= I_REF*Bita/(Bita+2);// in amp
+disp(I*10^3,"Current in mA")
+
+
+
|