summaryrefslogtreecommitdiff
path: root/2300/CH11
diff options
context:
space:
mode:
Diffstat (limited to '2300/CH11')
-rwxr-xr-x2300/CH11/EX11.12.1/Ex11_1.sce21
-rwxr-xr-x2300/CH11/EX11.12.2/Ex11_2.sce29
-rwxr-xr-x2300/CH11/EX11.12.3/Ex11_3.sce11
-rwxr-xr-x2300/CH11/EX11.12.4/Ex11_4.sce9
-rwxr-xr-x2300/CH11/EX11.12.5/Ex11_5.sce23
-rwxr-xr-x2300/CH11/EX11.12.6/Ex11_6.sce12
6 files changed, 105 insertions, 0 deletions
diff --git a/2300/CH11/EX11.12.1/Ex11_1.sce b/2300/CH11/EX11.12.1/Ex11_1.sce
new file mode 100755
index 000000000..fd365efb9
--- /dev/null
+++ b/2300/CH11/EX11.12.1/Ex11_1.sce
@@ -0,0 +1,21 @@
+//scilab 5.4.1
+//Windows 7 operating system
+//chapter 11 Sinusoidal oscillator and multivibrators
+clc
+clear
+L=50*10^-3//L=primary inductance of a transformer in henry
+C=(200*10^-12)//C=capacitor connected across transformer in farad
+R=50//dc resistance of primary coil in ohm
+hie=2000//hie=input impedance in ohm
+hre=10^(-4)//hre=reverse voltage amplification factor
+hfe=98//hfe=current gain
+hoe=(0.5*10^(-4))//hoe=output impedance in mho
+RB=50000//RB=resistance
+f=1/(2*%pi*sqrt(L*C))//f=frequency of oscillation
+format("v",5)
+g=((hie*hoe)-(hfe*hre))//g=dhe=delta he
+//M=mutual inductance in henry between the transformer primary and the secondary coils for sustained oscillations
+M=((RB/hfe)*((C*R)+(hoe*L)))+((C*R*hie)/hfe)+((L*g)/hfe)
+format("v",5)
+disp("kHz",f/10^3,"Frequency of oscillation is =")//f is converted in terms of kHz
+disp("mH",M/10^-3,"Mutual inductance is =")//M is converted in terms of mH
diff --git a/2300/CH11/EX11.12.2/Ex11_2.sce b/2300/CH11/EX11.12.2/Ex11_2.sce
new file mode 100755
index 000000000..ffc9451f8
--- /dev/null
+++ b/2300/CH11/EX11.12.2/Ex11_2.sce
@@ -0,0 +1,29 @@
+//scilab 5.4.1
+//Windows 7 operating system
+//chapter 11 Sinusoidal oscillator and multivibrators
+clc
+clear
+//L1 and L2=inductances in henry in a Hartley oscillator
+//Suppose L1=a
+//L2=b
+f=60*10^3//f=frequency in Hz
+C=400*10^(-12)//C=capacitance in Farad
+//Also tuning capacitance varies from 100 pF to 400 pF
+//f=1/(2*%pi*sqrt((L1+L2)*C)) where f=frequency of a Hartley oscillator which varies from 60 kHz to 120 kHz
+//d=L1+L2=a+b
+//d=1/(((2*%pi*f)^2)*C)
+d=1/(((2*%pi*f)^2)*C)//.......(1)
+format("v",10)
+//e=L2/L1=hfe/dhe
+hfe=90//hfe=current gain
+dhe=0.2//dhe=delta he
+e=hfe/dhe//..........(2)
+//From equation (1) and (2)
+//L*x=y
+x=[1 1 ; e -1]
+y=[d ; 0]
+L=inv(x)*y
+format("v",6)
+disp("micro Henry",(L(1))/10^-6,"Inductance L1 is =")//converting L(1) in terms of micro Henry
+disp("mH",(L(2))/10^-3,"Inductance L2 is =")//converting L(2) in terms of mH
+
diff --git a/2300/CH11/EX11.12.3/Ex11_3.sce b/2300/CH11/EX11.12.3/Ex11_3.sce
new file mode 100755
index 000000000..421e4ba34
--- /dev/null
+++ b/2300/CH11/EX11.12.3/Ex11_3.sce
@@ -0,0 +1,11 @@
+//scilab 5.4.1
+//Windows 7 operating system
+//chapter 11 Sinusoidal oscillator and multivibrators
+clc
+clear
+L=20*10^-3//L=inductance in henry
+C1=(200*10^(-12))//C1=capacitance in farad
+C2=(300*10^(-12))//C2=capacitance in farad
+Cs=((C1*C2)/(C1+C2))
+f=1/(2*%pi*sqrt(L*Cs))
+disp("kHz",f/10^3,"Frequency of oscillation is =")//converting f in terms of kHz
diff --git a/2300/CH11/EX11.12.4/Ex11_4.sce b/2300/CH11/EX11.12.4/Ex11_4.sce
new file mode 100755
index 000000000..cc37f878b
--- /dev/null
+++ b/2300/CH11/EX11.12.4/Ex11_4.sce
@@ -0,0 +1,9 @@
+//scilab 5.4.1
+//Windows 7 operating system
+//chapter 11 Sinusoidal oscillator and multivibrators
+clc
+clear
+R=4700//R=resistance in a phase-shift oscillator in ohm
+C=(0.01*10^(-6))//C=capacitance in a phase-shift oscillator in farad
+f=1/(2*%pi*sqrt(10)*R*C)
+disp("kHz",f/10^3,"Frequency of oscillation f is =")//converting f in terms of kHz
diff --git a/2300/CH11/EX11.12.5/Ex11_5.sce b/2300/CH11/EX11.12.5/Ex11_5.sce
new file mode 100755
index 000000000..d4589adc8
--- /dev/null
+++ b/2300/CH11/EX11.12.5/Ex11_5.sce
@@ -0,0 +1,23 @@
+//scilab 5.4.1
+//Windows 7 operating system
+//chapter 11 Sinusoidal oscillator and multivibrators
+clc
+clear
+f=30//f=frequency of oscillation of a Wien-bridge oscillator in Hz
+C=(500*10^(-12))//C=capacitance in farad
+//f=1/2*%pi*R*C//R=resistance in ohm
+R=1/(2*%pi*f*C)
+disp("Mega ohms",R/10^6,"Resistance needed to span the frequency range,R=")//converting R in terms of Mega ohms
+//C1=50pF C2=500pF where C1,C2 are variable capacitances in a Wien bridge oscillator
+//ratio of capacitance=(1:10)
+//frequency range is 30 Hz to 300 Hz with R=10.6 Megaohms
+//for the next frequency range from 300 Hz to 3 kHz ,new R=(10.6/10)=1.06 Megaohm
+//for frequency range 3 kHz to 30kHz,R=1.06/10=106 Kilo-ohm
+//So,three values of R are 10.6 Megaohm,1.06 Megaohm,106 Kilo ohm
+A=6//A=gain of amplifier
+//R2/(R1+R2)=(1/3)-(1/A)=(1/3)-(1/6)
+//1+(R1/R2)=6
+//Hence R1/R2=5
+//R3=(R1/R2)
+R3="5:1"
+disp(R3,"The ratio of the resistances in the other arms of the bridge,R1/R2 is =")
diff --git a/2300/CH11/EX11.12.6/Ex11_6.sce b/2300/CH11/EX11.12.6/Ex11_6.sce
new file mode 100755
index 000000000..c1b9229b6
--- /dev/null
+++ b/2300/CH11/EX11.12.6/Ex11_6.sce
@@ -0,0 +1,12 @@
+//scilab 5.4.1
+//Windows 7 operating system
+//chapter 11 Sinusoidal oscillator and multivibrators
+clc
+clear
+//Q=Quality factor
+L=3.5//L=inductance in henry
+f=450000//f=frequency in Hz
+R=9050//R=resistance in ohm
+Q=(2*%pi*f*L)/R
+format("v",5)//format() sets the current printing format
+disp(Q,"Quality factor is")