summaryrefslogtreecommitdiff
path: root/281
diff options
context:
space:
mode:
authorprashantsinalkar2017-10-10 12:38:01 +0530
committerprashantsinalkar2017-10-10 12:38:01 +0530
commitf35ea80659b6a49d1bb2ce1d7d002583f3f40947 (patch)
treeeb72842d800ac1233e9d890e020eac5fd41b0b1b /281
parent7f60ea012dd2524dae921a2a35adbf7ef21f2bb6 (diff)
downloadScilab-TBC-Uploads-f35ea80659b6a49d1bb2ce1d7d002583f3f40947.tar.gz
Scilab-TBC-Uploads-f35ea80659b6a49d1bb2ce1d7d002583f3f40947.tar.bz2
Scilab-TBC-Uploads-f35ea80659b6a49d1bb2ce1d7d002583f3f40947.zip
updated the code
Diffstat (limited to '281')
-rwxr-xr-x281/CH12/EX12.4/example12_4.sce184
-rwxr-xr-x281/CH3/EX3.9/example3_9.sce46
-rwxr-xr-x281/CH6/EX6.3/example6_3.sce66
-rwxr-xr-x281/CH9/EX9.6/example9_6.sce65
4 files changed, 181 insertions, 180 deletions
diff --git a/281/CH12/EX12.4/example12_4.sce b/281/CH12/EX12.4/example12_4.sce
index 543aa0a08..54de3ae47 100755
--- a/281/CH12/EX12.4/example12_4.sce
+++ b/281/CH12/EX12.4/example12_4.sce
@@ -1,93 +1,93 @@
-disp('chapter 12 ex12.4')
-disp('given')
-disp("output =10V to 15V")
-Vomax=15
-disp("max load current=4000mA")
-Il=.4
-disp("Vsmin=Vomax+3 V")
-Vsmin=Vomax+3
-disp('volts',Vsmin)
-disp("allowing Vrs=3V(p to p)")
-Vrs=3
-disp("Vs=Vsmin+Vrs/2")
-Vs=Vsmin+Vrs/2
-disp('volts',Vs)
-disp("ZENER CIRCUIT")
-disp("let Vz=Vo/2")
-Vz=Vomax/2
-disp('volts',Vz)
-disp("Iz=20mA")
-Iz=.02
-disp("R1=(Vo-Vz)/Iz")
-R1=(Vomax-Vz)/Iz
-disp('ohms',R1)
-disp("R1=330 ohm std value")
-R1=390
-disp("POTENTIAL DIVIDER")
-disp("let I2>>Ibmax I2=50uA Vomin=10")
-I2=50*10^(-6)
-Vomin=10
-disp("R2=(Vomin-Vz)/I2")
-Vz=7.5
-R2=(Vomin-Vz)/I2
-disp('ohms',R2)
-disp("R2=47kohm std value")
-R2=47000
-disp("I2=(Vomin-Vz)/R2")
-I2=(Vomin-Vz)/R2
-disp('amperes',I2)
-disp("R34=R3+R4=Vz/Iz")
-R34=Vz/I2
-disp('ohms',R34)
-disp("when Vo is at its max,moving contact is at bottom of R4")
-disp("I2=Vomax/(R2+R34)")
-I2=Vomax/(R2+R34)
-disp('amperes',I2)
-disp("R3=Vz/Iz")
-R3=Vz/I2
-disp('ohms',R3)
-disp("use 100 k ohm std value")
-R3=100000
-disp("R4=(R3+R4)-R3")
-R4=R34-R3
-disp('ohms',R4)
-disp("use 50 k ohm std value")
-disp("CAPACITOR")
-disp("select C1=100uF")
-C1=100*10^(-6)
-disp("Q1 specification")
-disp("Vcemax=Vsmax=Vs+Vrs/2")
-Vcemax=Vs+Vrs/2
-disp('volts',Vcemax)
-Ie=Il
-disp("P=Vce*Il=(Vs-Vomin)*Il")
-P=(Vs-Vomin)*Il
-disp('watts',P)
-disp("A 2N3055 is a suitable device")
-disp("Q2 specification")
-disp("Vcemax=Vsmax=Vs+Vrs/2")
-Vcemax=Vs+Vrs/2
-disp('volts',Vcemax)
-disp("Ie=Il/hFE1 ,hFE1=20 for Q1")
-hFE1=20
-Ie=Il/hFE1
-disp('amperes',Ie)
-disp("P=Vce*Il=(Vs-Vomin)*Il")
-P=(Vs-Vomin)*Il
-disp('watts',P)
-disp("A 2N3904 is a suitable device")
-disp("R5 Calculation")
-disp("let Ie2min=0.5mA,Vbe1=0.7")
-Ie2min=0.5*10^(-3)
-Vbe1=0.7
-disp("R5=(Vomin+Vbe1)/Ie2min")
-R5=(Vomin+Vbe1)/Ie2min
-disp('ohms',R5)
-disp("R5=18kohm std value")
-disp("OPERATIONAL AMPLIFIER")
-disp("because I2 is sselected for bipolar opamp either a bipolar or BIFEt opamp can be used")
-disp("supply voltage Vs=19.5V")
-Vs=19.5
-disp("Input supply voltage range=Vs/2-Vz")
-ipvoltage==(Vs/2)-Vz
+disp('chapter 12 ex12.4')
+disp('given')
+disp("output =10V to 15V")
+Vomax=15
+disp("max load current=4000mA")
+Il=.4
+disp("Vsmin=Vomax+3 V")
+Vsmin=Vomax+3
+disp('volts',Vsmin)
+disp("allowing Vrs=3V(p to p)")
+Vrs=3
+disp("Vs=Vsmin+Vrs/2")
+Vs=Vsmin+Vrs/2
+disp('volts',Vs)
+disp("ZENER CIRCUIT")
+disp("let Vz=Vo/2")
+Vz=Vomax/2
+disp('volts',Vz)
+disp("Iz=20mA")
+Iz=.02
+disp("R1=(Vo-Vz)/Iz")
+R1=(Vomax-Vz)/Iz
+disp('ohms',R1)
+disp("R1=330 ohm std value")
+R1=390
+disp("POTENTIAL DIVIDER")
+disp("let I2>>Ibmax I2=50uA Vomin=10")
+I2=50*10^(-6)
+Vomin=10
+disp("R2=(Vomin-Vz)/I2")
+Vz=7.5
+R2=(Vomin-Vz)/I2
+disp('ohms',R2)
+disp("R2=47kohm std value")
+R2=47000
+disp("I2=(Vomin-Vz)/R2")
+I2=(Vomin-Vz)/R2
+disp('amperes',I2)
+disp("R34=R3+R4=Vz/Iz")
+R34=Vz/I2
+disp('ohms',R34)
+disp("when Vo is at its max,moving contact is at bottom of R4")
+disp("I2=Vomax/(R2+R34)")
+I2=Vomax/(R2+R34)
+disp('amperes',I2)
+disp("R3=Vz/Iz")
+R3=Vz/I2
+disp('ohms',R3)
+disp("use 100 k ohm std value")
+R3=100000
+disp("R4=(R3+R4)-R3")
+R4=R34-R3
+disp('ohms',R4)
+disp("use 50 k ohm std value")
+disp("CAPACITOR")
+disp("select C1=100uF")
+C1=100*10^(-6)
+disp("Q1 specification")
+disp("Vcemax=Vsmax=Vs+Vrs/2")
+Vcemax=Vs+Vrs/2
+disp('volts',Vcemax)
+Ie=Il
+disp("P=Vce*Il=(Vs-Vomin)*Il")
+P=(Vs-Vomin)*Il
+disp('watts',P)
+disp("A 2N3055 is a suitable device")
+disp("Q2 specification")
+disp("Vcemax=Vsmax=Vs+Vrs/2")
+Vcemax=Vs+Vrs/2
+disp('volts',Vcemax)
+disp("Ie=Il/hFE1 ,hFE1=20 for Q1")
+hFE1=20
+Ie=Il/hFE1
+disp('amperes',Ie)
+disp("P=Vce*Il=(Vs-Vomin)*Il")
+P=(Vs-Vomin)*Il
+disp('watts',P)
+disp("A 2N3904 is a suitable device")
+disp("R5 Calculation")
+disp("let Ie2min=0.5mA,Vbe1=0.7")
+Ie2min=0.5*10^(-3)
+Vbe1=0.7
+disp("R5=(Vomin+Vbe1)/Ie2min")
+R5=(Vomin+Vbe1)/Ie2min
+disp('ohms',R5)
+disp("R5=18kohm std value")
+disp("OPERATIONAL AMPLIFIER")
+disp("because I2 is sselected for bipolar opamp either a bipolar or BIFEt opamp can be used")
+disp("supply voltage Vs=19.5V")
+Vs=19.5
+disp("Input supply voltage range=Vs/2-Vz")
+ipvoltage=(Vs/2)-Vz
disp('volts',ipvoltage) \ No newline at end of file
diff --git a/281/CH3/EX3.9/example3_9.sce b/281/CH3/EX3.9/example3_9.sce
index f0a8a28cb..3f82a2076 100755
--- a/281/CH3/EX3.9/example3_9.sce
+++ b/281/CH3/EX3.9/example3_9.sce
@@ -1,23 +1,23 @@
-disp('chapter 3 ex3.9')
-disp('given')
-disp('the direct sum of two inputs which range from .1Volt to 1V0lt')
-Vsmin=0.1
-Vsmax=1
-disp('IBmax=500nA')
-disp('I1min=100*IBmax')
-IBmax=500*10^(-9)
-I1min=100*IBmax
-disp('amperes',I1min)
-disp('R1=Vsmin/I1min')
-R1=Vsmin/I1min
-disp('ohms',R1)
-disp('using standard value R2=R1=1.8kohms')
-R1=1800
-R2=1800
-disp('for Av=1 R3=R1=1.8kohms')
-Av=1
-R3=1800
-disp('R4=R1||R2||R3')
-R4=R1/3
-disp('ohms',R4)
-disp('standard value is 560ohms) \ No newline at end of file
+disp('chapter 3 ex3.9')
+disp('given')
+disp('the direct sum of two inputs which range from .1Volt to 1V0lt')
+Vsmin=0.1
+Vsmax=1
+disp('IBmax=500nA')
+disp('I1min=100*IBmax')
+IBmax=500*10^(-9)
+I1min=100*IBmax
+disp('amperes',I1min)
+disp('R1=Vsmin/I1min')
+R1=Vsmin/I1min
+disp('ohms',R1)
+disp('using standard value R2=R1=1.8kohms')
+R1=1800
+R2=1800
+disp('for Av=1 R3=R1=1.8kohms')
+Av=1
+R3=1800
+disp('R4=R1||R2||R3')
+R4=R1/3
+disp('ohms',R4)
+disp('standard value is 560ohms') \ No newline at end of file
diff --git a/281/CH6/EX6.3/example6_3.sce b/281/CH6/EX6.3/example6_3.sce
index 6b5118e9d..359243172 100755
--- a/281/CH6/EX6.3/example6_3.sce
+++ b/281/CH6/EX6.3/example6_3.sce
@@ -1,34 +1,34 @@
-disp('chapter 6 ex6.3')
-disp('given')
-disp("current souurce to be designed")
-disp("constant output current=100mA")
-Il=.1
-disp("maximum load resistance=40ohms")
-Rlmax=40
-disp("available supply voltage=+/-12V")
-Vcc=12
-disp("for P MOSFET Vdsmax=100 Idmax=210mA Rdon=5")
-Vdsmax=100
-Idmax=0.210
-Rdon=5
-disp("Vdsmax=Vcc=12")
-disp("Idmax=Il=100mA")
-Vdsmax=Vcc
-Idmax=Il
-disp("Vlmax=Il*Rlmax")
-Vlmax=Il*Rlmax
-disp('volts',Vlmax)
-disp("Vdsmin=(Id*Rdon)+1")
-Vdsmin=(Il*Rdon)+1
-disp('volts',Vdsmin)
-disp("Vr1(max)=Vcc-Vlmax-Vdsmin")
-Vrlmax=Vcc-Vlmax-Vdsmin
-disp('volts',Vrlmax)
-disp("R1=Vr1/Il")
-R1=Vr1max/Il
-disp('ohms',R1)
-disp("use R1=56ohms std value")
-R1=56
-disp("Vr1=Il*R1")
-Vr1=Il*R1
+disp('chapter 6 ex6.3')
+disp('given')
+disp("current souurce to be designed")
+disp("constant output current=100mA")
+Il=.1
+disp("maximum load resistance=40ohms")
+Rlmax=40
+disp("available supply voltage=+/-12V")
+Vcc=12
+disp("for P MOSFET Vdsmax=100 Idmax=210mA Rdon=5")
+Vdsmax=100
+Idmax=0.210
+Rdon=5
+disp("Vdsmax=Vcc=12")
+disp("Idmax=Il=100mA")
+Vdsmax=Vcc
+Idmax=Il
+disp("Vlmax=Il*Rlmax")
+Vlmax=Il*Rlmax
+disp('volts',Vlmax)
+disp("Vdsmin=(Id*Rdon)+1")
+Vdsmin=(Il*Rdon)+1
+disp('volts',Vdsmin)
+disp("Vr1(max)=Vcc-Vlmax-Vdsmin")
+Vrlmax=Vcc-Vlmax-Vdsmin
+disp('volts',Vrlmax)
+disp("R1=Vr1/Il")
+R1=Vr1max/Il
+disp('ohms',R1)
+disp("use R1=56ohms std value")
+R1=56
+disp("Vr1=Il*R1")
+Vr1=Il*R1
disp('volts',Vr1) \ No newline at end of file
diff --git a/281/CH9/EX9.6/example9_6.sce b/281/CH9/EX9.6/example9_6.sce
index a55b3897b..1890881c9 100755
--- a/281/CH9/EX9.6/example9_6.sce
+++ b/281/CH9/EX9.6/example9_6.sce
@@ -1,33 +1,34 @@
-disp('chapter 9 ex9.6')
-disp('given')
-disp('design an astable multivibrator to have a+or-9volt output with frequency f=1kHz')
-disp('using BIFET op-amp for Vo=+or-9volt')
-Vo=9
-disp('Vcc=+or-(Vo+1)')
-Vcc=Vo+1
-disp('volts',Vcc)
-disp('select UTP and LTP<Vo')
-disp('let |UTP|=|LTP|=0.5volt')
-UTP=0.5
-LTP=-0.5
-disp('let R2=1Mohm')
-R2=1*10^(6)
-disp('I3=(|Vo|-UTP)/R2')
-I3=(Vo-UTP)/R2
-disp('amperes',I3)
-disp('R3=UTP/I3')
-R3=UTP/I3
-disp('ohms',R3)
-disp('use 5.6kohm standard value')
-disp('let C1=0.1*10^(-6)F')
-C1=0.1*10^(-6)
-disp('t=1/(2*f)')
-t=1/(2*f)
-disp('seconds',t)
-disp('I1=C1*(UTP-LTP)/t')
-I1=C1*(UTP-LTP)/t
-disp('amperes',I1)
-disp('R1=(Vo-UTP)/I1')
-R1=(Vo-UTP)/I1
-disp('ohms',R1)
+disp('chapter 9 ex9.6')
+disp('given')
+disp('design an astable multivibrator to have a+or-9volt output with frequency f=1kHz')
+disp('using BIFET op-amp for Vo=+or-9volt')
+f = 1000;
+Vo=9
+disp('Vcc=+or-(Vo+1)')
+Vcc=Vo+1
+disp('volts',Vcc)
+disp('select UTP and LTP<Vo')
+disp('let |UTP|=|LTP|=0.5volt')
+UTP=0.5
+LTP=-0.5
+disp('let R2=1Mohm')
+R2=1*10^(6)
+disp('I3=(|Vo|-UTP)/R2')
+I3=(Vo-UTP)/R2
+disp('amperes',I3)
+disp('R3=UTP/I3')
+R3=UTP/I3
+disp('ohms',R3)
+disp('use 5.6kohm standard value')
+disp('let C1=0.1*10^(-6)F')
+C1=0.1*10^(-6)
+disp('t=1/(2*f)')
+t=1/(2*f)
+disp('seconds',t)
+disp('I1=C1*(UTP-LTP)/t')
+I1=C1*(UTP-LTP)/t
+disp('amperes',I1)
+disp('R1=(Vo-UTP)/I1')
+R1=(Vo-UTP)/I1
+disp('ohms',R1)
disp('use 39kohm and3.3kohm in series') \ No newline at end of file