summaryrefslogtreecommitdiff
path: root/2045/CH4/EX4.30/Ex4_30.sce
diff options
context:
space:
mode:
Diffstat (limited to '2045/CH4/EX4.30/Ex4_30.sce')
-rwxr-xr-x2045/CH4/EX4.30/Ex4_30.sce11
1 files changed, 11 insertions, 0 deletions
diff --git a/2045/CH4/EX4.30/Ex4_30.sce b/2045/CH4/EX4.30/Ex4_30.sce
new file mode 100755
index 000000000..c63b6bbed
--- /dev/null
+++ b/2045/CH4/EX4.30/Ex4_30.sce
@@ -0,0 +1,11 @@
+//example 30
+colcur=8*10^-3;//ampere
+re=500;//ohm
+vce=3;//volt
+beta1=80;
+vcc=9;//volt
+ib=colcur/beta1;
+rb=(vcc-(1+beta1)*(ib*re))/ib;
+disp(" base resistance = "+string((rb))+"ohm");
+
+