summaryrefslogtreecommitdiff
path: root/1514/CH7/EX7.1/ch7_1.sce
diff options
context:
space:
mode:
Diffstat (limited to '1514/CH7/EX7.1/ch7_1.sce')
-rwxr-xr-x1514/CH7/EX7.1/ch7_1.sce18
1 files changed, 18 insertions, 0 deletions
diff --git a/1514/CH7/EX7.1/ch7_1.sce b/1514/CH7/EX7.1/ch7_1.sce
new file mode 100755
index 000000000..ae32e0ebd
--- /dev/null
+++ b/1514/CH7/EX7.1/ch7_1.sce
@@ -0,0 +1,18 @@
+//chapter 7
+//example 7.1
+//page 196
+clear;
+clc ;
+//given
+Vce=20; //collector to emitter voltage in volts
+T=125 ; //temperature in degreeC
+excessT=T-25;
+D=2.81*excessT; //derating in power of device in mW
+
+//maximum power dissipation in mW
+PD=310-D; //from datasheet of 2N3904
+
+//max collector current in mA
+Ic=PD/Vce;
+
+printf('maximum Ic that can be used is %.2f mA',Ic);