diff options
Diffstat (limited to '275/CH3/EX3.3.59/Ch3_3_59.sce')
-rwxr-xr-x | 275/CH3/EX3.3.59/Ch3_3_59.sce | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/275/CH3/EX3.3.59/Ch3_3_59.sce b/275/CH3/EX3.3.59/Ch3_3_59.sce new file mode 100755 index 000000000..465f5bd63 --- /dev/null +++ b/275/CH3/EX3.3.59/Ch3_3_59.sce @@ -0,0 +1,18 @@ +clc
+disp("Example 3.59")
+printf("\n")
+disp("Calculate Base resistance for base bias circuit")
+printf("Given\n")
+//given
+Vcc=20
+Vce=5
+Rc=6.8*10^3
+hFE=120
+Vbe=0.7
+//collector current
+Ic=(Vcc-Vce)/Rc
+//base current
+Ib=Ic/hFE
+//the required base resistance
+Rb=(Vcc-Vbe)/Ib
+printf("The base resistance \n%f ohm\n",Rb)
|