summaryrefslogtreecommitdiff
path: root/863/CH10/EX10.1/Ex10_1.txt
diff options
context:
space:
mode:
Diffstat (limited to '863/CH10/EX10.1/Ex10_1.txt')
-rw-r--r--863/CH10/EX10.1/Ex10_1.txt13
1 files changed, 13 insertions, 0 deletions
diff --git a/863/CH10/EX10.1/Ex10_1.txt b/863/CH10/EX10.1/Ex10_1.txt
new file mode 100644
index 000000000..6d2a1dbbc
--- /dev/null
+++ b/863/CH10/EX10.1/Ex10_1.txt
@@ -0,0 +1,13 @@
+//Caption:Determine low and high voltage outputs and resistance for desinging the gate circuit
+//Ex10.1
+clc;
+clear;
+close;
+Vcc=5//Supply voltage(in volts)
+Vf=0.7//Diode forward voltage(in volts)
+I=0.5//Collector current(in mA)
+Vce=0.2//Collector emitter voltage(in volts)
+R=(Vcc-Vf-Vce)/I
+Vl=Vce+Vf
+Vh=Vcc
+disp(R,Vh,Vl,'Low and high voltage outputs(in volts) and Required resistance(in kilo ohm)=') \ No newline at end of file