summaryrefslogtreecommitdiff
path: root/3517/CH4/EX4.2/Ex4_2.sce
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /3517/CH4/EX4.2/Ex4_2.sce
downloadScilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.gz
Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.bz2
Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.zip
initial commit / add all books
Diffstat (limited to '3517/CH4/EX4.2/Ex4_2.sce')
-rw-r--r--3517/CH4/EX4.2/Ex4_2.sce17
1 files changed, 17 insertions, 0 deletions
diff --git a/3517/CH4/EX4.2/Ex4_2.sce b/3517/CH4/EX4.2/Ex4_2.sce
new file mode 100644
index 000000000..3e56cb765
--- /dev/null
+++ b/3517/CH4/EX4.2/Ex4_2.sce
@@ -0,0 +1,17 @@
+//Caption:Calculate the transistor power dissipation at (a)Cutoff (b)Saturation (c)When Vce is 2V
+//Ex4.2
+clc;
+clear;
+close;
+Vcc=10//Collector voltage(in volts)
+Ic=50//Collector current(in nA)
+Rc=1//Collector resistor(in kilo ohm)
+Vs=0.2//Voltage of collector emitter junction at saturation(in volts)
+Vce=2//Collector emitter voltage(in volts)
+P1=Ic*Vcc/1000
+disp(P1,'(a)Power dissipation at cutoff(in micro watt)=')
+P2=(Vcc/Rc)*Vs
+disp(P2,'(b)Power dissipation at saturation(in mW)=')
+I=(Vcc-Vce)/Rc
+P3=I*Vce
+disp(P3,'(c)Power dissipation at given Vce(in mW)=') \ No newline at end of file