summaryrefslogtreecommitdiff
path: root/863/CH14
diff options
context:
space:
mode:
Diffstat (limited to '863/CH14')
-rw-r--r--863/CH14/EX14.1/Ex14_1.sce16
-rw-r--r--863/CH14/EX14.1/Ex14_1.txt16
-rw-r--r--863/CH14/EX14.1/Result14_1.txt6
-rw-r--r--863/CH14/EX14.5/Ex14_5.sce15
-rw-r--r--863/CH14/EX14.5/Ex14_5.txt15
-rw-r--r--863/CH14/EX14.5/Result14_5.txt8
-rw-r--r--863/CH14/EX14.6/Ex14_6.sce18
-rw-r--r--863/CH14/EX14.6/Ex14_6.txt18
-rw-r--r--863/CH14/EX14.6/Result14_6.txt4
9 files changed, 116 insertions, 0 deletions
diff --git a/863/CH14/EX14.1/Ex14_1.sce b/863/CH14/EX14.1/Ex14_1.sce
new file mode 100644
index 000000000..daadc4311
--- /dev/null
+++ b/863/CH14/EX14.1/Ex14_1.sce
@@ -0,0 +1,16 @@
+//Caption:Determine Resistors Rc and Rb
+//Ex14.1
+clc;
+clear;
+close;
+Vcc=5//Collector voltage(in volts)
+Vi=5//Input voltage(in volts)
+Vf=1.2//Diode forward voltage(in volts)
+hfe=100
+I=20//Diode minimum forward current(in mA)
+Vce=0.2//Collector emitter saturated voltage(in volts)
+Vbe=0.7//Base emitter voltage(in volts)
+Rc=(Vcc-Vf-Vce)*1000/I
+Ib=I*1000/hfe
+Rb=(Vi-Vbe)*1000/Ib
+disp(Rb,Rc,'Resistors are Rc and Rb(in kilo ohm)=') \ No newline at end of file
diff --git a/863/CH14/EX14.1/Ex14_1.txt b/863/CH14/EX14.1/Ex14_1.txt
new file mode 100644
index 000000000..daadc4311
--- /dev/null
+++ b/863/CH14/EX14.1/Ex14_1.txt
@@ -0,0 +1,16 @@
+//Caption:Determine Resistors Rc and Rb
+//Ex14.1
+clc;
+clear;
+close;
+Vcc=5//Collector voltage(in volts)
+Vi=5//Input voltage(in volts)
+Vf=1.2//Diode forward voltage(in volts)
+hfe=100
+I=20//Diode minimum forward current(in mA)
+Vce=0.2//Collector emitter saturated voltage(in volts)
+Vbe=0.7//Base emitter voltage(in volts)
+Rc=(Vcc-Vf-Vce)*1000/I
+Ib=I*1000/hfe
+Rb=(Vi-Vbe)*1000/Ib
+disp(Rb,Rc,'Resistors are Rc and Rb(in kilo ohm)=') \ No newline at end of file
diff --git a/863/CH14/EX14.1/Result14_1.txt b/863/CH14/EX14.1/Result14_1.txt
new file mode 100644
index 000000000..f2a99e6d0
--- /dev/null
+++ b/863/CH14/EX14.1/Result14_1.txt
@@ -0,0 +1,6 @@
+Resistors are Rc and Rb(in kilo ohm)=
+
+ 180.
+
+ 21.5
+ \ No newline at end of file
diff --git a/863/CH14/EX14.5/Ex14_5.sce b/863/CH14/EX14.5/Ex14_5.sce
new file mode 100644
index 000000000..71e828717
--- /dev/null
+++ b/863/CH14/EX14.5/Ex14_5.sce
@@ -0,0 +1,15 @@
+//Caption:Determine meter indication when time base uses (a)6 decade counter (b)4 decade counter
+//Ex14.5
+clc;
+clear;
+close;
+f=3500//Applied frequency(in hz)
+F=10^6//Clock generator frequency(in hz)
+f1=F/(10^6)
+t1=1/f1
+c1=f*t1
+disp(c1,'Cycles of input counted during t1=')
+f2=F/(10^4)
+t2=1/f2
+c2=f*t2
+disp(c2,'Cycles of input counted during t2=') \ No newline at end of file
diff --git a/863/CH14/EX14.5/Ex14_5.txt b/863/CH14/EX14.5/Ex14_5.txt
new file mode 100644
index 000000000..71e828717
--- /dev/null
+++ b/863/CH14/EX14.5/Ex14_5.txt
@@ -0,0 +1,15 @@
+//Caption:Determine meter indication when time base uses (a)6 decade counter (b)4 decade counter
+//Ex14.5
+clc;
+clear;
+close;
+f=3500//Applied frequency(in hz)
+F=10^6//Clock generator frequency(in hz)
+f1=F/(10^6)
+t1=1/f1
+c1=f*t1
+disp(c1,'Cycles of input counted during t1=')
+f2=F/(10^4)
+t2=1/f2
+c2=f*t2
+disp(c2,'Cycles of input counted during t2=') \ No newline at end of file
diff --git a/863/CH14/EX14.5/Result14_5.txt b/863/CH14/EX14.5/Result14_5.txt
new file mode 100644
index 000000000..b1d0cb223
--- /dev/null
+++ b/863/CH14/EX14.5/Result14_5.txt
@@ -0,0 +1,8 @@
+Cycles of input counted during t1=
+
+ 3500.
+
+ Cycles of input counted during t2=
+
+ 35.
+ \ No newline at end of file
diff --git a/863/CH14/EX14.6/Ex14_6.sce b/863/CH14/EX14.6/Ex14_6.sce
new file mode 100644
index 000000000..42952c43d
--- /dev/null
+++ b/863/CH14/EX14.6/Ex14_6.sce
@@ -0,0 +1,18 @@
+//Caption:Determine required current
+//Ex14.6
+clc;
+clear;
+close;
+c=1280//Input wave clock cycles
+f=200//Output frequency(in khz)
+p=1000//Pulses during t2
+V=1//Input voltage(in volts)
+R=10//Resistance(in kilo ohm)
+C=0.1//Capacitance(in micro farad)
+I=V*1000/R
+T=1000/f
+t1=T*c
+vo=(I*t1)/(C*1000)
+t2=T*p
+Ir=C*vo*1000/t2
+disp(Ir,'Required current(in micro ampere)=') \ No newline at end of file
diff --git a/863/CH14/EX14.6/Ex14_6.txt b/863/CH14/EX14.6/Ex14_6.txt
new file mode 100644
index 000000000..42952c43d
--- /dev/null
+++ b/863/CH14/EX14.6/Ex14_6.txt
@@ -0,0 +1,18 @@
+//Caption:Determine required current
+//Ex14.6
+clc;
+clear;
+close;
+c=1280//Input wave clock cycles
+f=200//Output frequency(in khz)
+p=1000//Pulses during t2
+V=1//Input voltage(in volts)
+R=10//Resistance(in kilo ohm)
+C=0.1//Capacitance(in micro farad)
+I=V*1000/R
+T=1000/f
+t1=T*c
+vo=(I*t1)/(C*1000)
+t2=T*p
+Ir=C*vo*1000/t2
+disp(Ir,'Required current(in micro ampere)=') \ No newline at end of file
diff --git a/863/CH14/EX14.6/Result14_6.txt b/863/CH14/EX14.6/Result14_6.txt
new file mode 100644
index 000000000..834e60172
--- /dev/null
+++ b/863/CH14/EX14.6/Result14_6.txt
@@ -0,0 +1,4 @@
+ Required current(in micro ampere)=
+
+ 128.
+ \ No newline at end of file