diff options
author | priyanka | 2015-06-24 15:03:17 +0530 |
---|---|---|
committer | priyanka | 2015-06-24 15:03:17 +0530 |
commit | b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch) | |
tree | ab291cffc65280e58ac82470ba63fbcca7805165 /2075/CH6/EX6.1/pe6_1.sce | |
download | Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.gz Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.bz2 Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.zip |
initial commit / add all books
Diffstat (limited to '2075/CH6/EX6.1/pe6_1.sce')
-rwxr-xr-x | 2075/CH6/EX6.1/pe6_1.sce | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/2075/CH6/EX6.1/pe6_1.sce b/2075/CH6/EX6.1/pe6_1.sce new file mode 100755 index 000000000..e8d0adf86 --- /dev/null +++ b/2075/CH6/EX6.1/pe6_1.sce @@ -0,0 +1,21 @@ +//example 6.1
+clc; funcprot(0);
+// Initialization of Variable
+Vs=28;//V
+Vi=5;//V
+Rl=15;//ohm
+Vc=.8;//V
+b=20;
+//calculation
+Ic=(Vs-Vc)/Rl;
+disp(Ic,"collector current in A:")
+Pl=Ic^2*Rl;
+disp(Pl,"load power in W:")
+Pq=Ic*Vc;
+disp(Pq,"transistor power in W:")
+Ib=Ic/b*1000;
+disp(Ib,"least value of base current in mA:")
+Rb=(Vi-.6)/Ib;
+disp(Rb*1000,"max. value of base resistance in ohm:")
+printf('thus pick Rb=33ohm,1W')
+clear()
|