summaryrefslogtreecommitdiff
path: root/863/CH10/EX10.2/Ex10_2.txt
diff options
context:
space:
mode:
Diffstat (limited to '863/CH10/EX10.2/Ex10_2.txt')
-rw-r--r--863/CH10/EX10.2/Ex10_2.txt12
1 files changed, 12 insertions, 0 deletions
diff --git a/863/CH10/EX10.2/Ex10_2.txt b/863/CH10/EX10.2/Ex10_2.txt
new file mode 100644
index 000000000..995afbf79
--- /dev/null
+++ b/863/CH10/EX10.2/Ex10_2.txt
@@ -0,0 +1,12 @@
+//Caption:Find minimum value of the resistance to design OR Gate
+//Ex10.2
+clc;
+clear;
+close;
+Rc=3.3//Collector resistance(in kilo ohm)
+V=3.5//Gate output voltage(in volts)
+Vcc=5//Supply voltage(in volts)
+Vf=0.7//Forward diode voltage(in volts)
+I=(Vcc-Vf-V)/Rc
+R=V/I
+disp(R,'Minimum value of resistance to design the circuit is(in kilo ohm)=') \ No newline at end of file