diff options
author | priyanka | 2015-06-24 15:03:17 +0530 |
---|---|---|
committer | priyanka | 2015-06-24 15:03:17 +0530 |
commit | b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch) | |
tree | ab291cffc65280e58ac82470ba63fbcca7805165 /3517/CH3 | |
download | Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.gz Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.bz2 Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.zip |
initial commit / add all books
Diffstat (limited to '3517/CH3')
-rw-r--r-- | 3517/CH3/EX3.1/Ex3_1.sce | 20 | ||||
-rw-r--r-- | 3517/CH3/EX3.10/Ex3_10.sce | 18 | ||||
-rw-r--r-- | 3517/CH3/EX3.3/Ex3_3.sce | 12 | ||||
-rw-r--r-- | 3517/CH3/EX3.4/Ex3_4.sce | 12 | ||||
-rw-r--r-- | 3517/CH3/EX3.5/Ex3_5.sce | 13 | ||||
-rw-r--r-- | 3517/CH3/EX3.6/Ex3_6.sce | 17 | ||||
-rw-r--r-- | 3517/CH3/EX3.7/Ex3_7.sce | 14 | ||||
-rw-r--r-- | 3517/CH3/EX3.8/Ex3_8.sce | 14 | ||||
-rw-r--r-- | 3517/CH3/EX3.9/Ex3_9.sce | 17 |
9 files changed, 137 insertions, 0 deletions
diff --git a/3517/CH3/EX3.1/Ex3_1.sce b/3517/CH3/EX3.1/Ex3_1.sce new file mode 100644 index 000000000..e7566a481 --- /dev/null +++ b/3517/CH3/EX3.1/Ex3_1.sce @@ -0,0 +1,20 @@ +//Caption:Calculate (a)Resistance (b)Forward Current (c)Power dissipation (d)Peak Reverse Voltage
+//Ex:3.1
+clc;
+clear;
+close;
+e=50//Input voltage(in volts)
+i=20//Output Current(in mA)
+v=0.5//Output voltage(in volts)
+is=5//Reverse Leakage Current(in micro ampere)
+vf=0.7//Forward voltage of diode(in volts)
+R=v*1000/is
+disp(R,'(a)Resistance(in Kilo ohm)=')
+I=(e-vf)/R
+P=(e^2)/R
+if=i+I
+disp(if,'(b)Forward Current(in mA)=')
+p=vf*if
+disp(p,'(c)Power Dissipation(in mW)=')
+ep=-e
+disp(ep,'(d)Peak Reverse Voltage(in volts)=')
\ No newline at end of file diff --git a/3517/CH3/EX3.10/Ex3_10.sce b/3517/CH3/EX3.10/Ex3_10.sce new file mode 100644 index 000000000..660531281 --- /dev/null +++ b/3517/CH3/EX3.10/Ex3_10.sce @@ -0,0 +1,18 @@ +//Caption:Calculate Capacitance C1and C2,Diode reverse recovery time and input voltage
+//Ex3.10
+clc;
+clear;
+close;
+V=12//Output voltage(in volts)
+Vd=0.7//Diode forward voltage(in volts)
+R=1.2//Load resistance(in Kilo ohm)
+f=1//Frequency(in KHz)
+r=10//Ripple in output voltage(in %)
+Il=V/R
+t=1000/(2*f)
+C2=(Il*t)*10^(-3)/((r/(2*100))*V)
+C1=(2*Il*t)*10^(-3)/((r/(2*100))*V)
+trr=t/10
+Vpp=V+((r/100)*V)+(2*Vd)
+Vp=Vpp/2
+disp(C1,C2,trr,Vp,'Input voltage(in volts),Diode reverse recovery time(in micro sec),C2 and C1(in micro farad)=')
\ No newline at end of file diff --git a/3517/CH3/EX3.3/Ex3_3.sce b/3517/CH3/EX3.3/Ex3_3.sce new file mode 100644 index 000000000..25901fdb2 --- /dev/null +++ b/3517/CH3/EX3.3/Ex3_3.sce @@ -0,0 +1,12 @@ +//Caption:Calculate resistance and amplitude of output signal
+//Ex3.3
+clc;
+clear;
+close;
+E=2//Input voltage(in volts)
+v=0.5//Input noise voltage(in volts)
+Vf=0.7//Forward diode voltage(in volts)
+if=1//Forward current of diode(in mA)
+V=E-Vf
+R=V/if
+disp(V,R,'Resistance(in kilo ohm) and Output signal amplitude(in volts)=')
\ No newline at end of file diff --git a/3517/CH3/EX3.4/Ex3_4.sce b/3517/CH3/EX3.4/Ex3_4.sce new file mode 100644 index 000000000..477d368c9 --- /dev/null +++ b/3517/CH3/EX3.4/Ex3_4.sce @@ -0,0 +1,12 @@ +//Caption:Calculate Resistance and diode forward current
+//Ex3.4
+clc;
+clear;
+close;
+E=10//Input voltage(in volts)
+v=9//Output voltage(in volts)
+i=1//Output current(in mA)
+vf=0.7//Diode forward voltage(in volts)
+R=E-v/i
+if=E-vf/R
+disp(if,R,'Resistance(in kilo ohm) and Diode forward current(in mA)=')
\ No newline at end of file diff --git a/3517/CH3/EX3.5/Ex3_5.sce b/3517/CH3/EX3.5/Ex3_5.sce new file mode 100644 index 000000000..08b531736 --- /dev/null +++ b/3517/CH3/EX3.5/Ex3_5.sce @@ -0,0 +1,13 @@ +//Caption:Calculate Resistance
+//Ex3.5
+clc;
+clear;
+close;
+V=2.7//Output voltage(in volts)
+E=8//Input voltage(in volts)
+i=1//Output current(in mA)
+vf=0.7//Diode forward voltage(in volts)
+if=1//Diode forward current(in mA)
+vb=V-vf
+R=(E-vb-vf)/(i+if)
+disp(R,'Resistance(in kilo ohm)=')
\ No newline at end of file diff --git a/3517/CH3/EX3.6/Ex3_6.sce b/3517/CH3/EX3.6/Ex3_6.sce new file mode 100644 index 000000000..61c862577 --- /dev/null +++ b/3517/CH3/EX3.6/Ex3_6.sce @@ -0,0 +1,17 @@ +//Caption:Find Zener voltage and Resistance
+//Ex3.6
+clc;
+clear;
+close;
+E=25//Input voltage(in volts)
+V=11//Output voltage(in volts)
+Vf=0.7//Forward diode voltage(in volts)
+i=1//Output current(in mA)
+v=9.1//Voltage for 1N757 diode
+I=20//Current across 1N757 diode(in mA)
+Vz=V-Vf
+Vr=E-(Vf+v)
+Iz=0.25*I
+Ir=Iz+i
+R=Vr/Ir
+disp(R,Vz,'Zener voltage(in volts) and Resistance(in Kilo ohm)=')
\ No newline at end of file diff --git a/3517/CH3/EX3.7/Ex3_7.sce b/3517/CH3/EX3.7/Ex3_7.sce new file mode 100644 index 000000000..58a0eeb60 --- /dev/null +++ b/3517/CH3/EX3.7/Ex3_7.sce @@ -0,0 +1,14 @@ +//Caption:Calculate Capacitance and Resistance
+//Ex3.7
+clc;
+clear;
+close;
+E=10//Input voltage(in volts)
+f=1//Frequency(in Khz)
+Rs=500//Source resistance(in ohms)
+t=0.01//Tilt
+T=1/(f)
+pw=T*1000/2
+C=pw/Rs
+R=pw/(t*C*1000)
+disp(R,C,'Capacitance(in micro farad) and Resistance(in Kilo ohm)=')
\ No newline at end of file diff --git a/3517/CH3/EX3.8/Ex3_8.sce b/3517/CH3/EX3.8/Ex3_8.sce new file mode 100644 index 000000000..7817bea26 --- /dev/null +++ b/3517/CH3/EX3.8/Ex3_8.sce @@ -0,0 +1,14 @@ +//Caption:Find Capacitance and Resistance required to design the circuit
+//Ex3.8
+clc;
+clear;
+close;
+E=20//Input waveform amplitude(in volts)
+f=2//Frequency(in Khz)
+t=0.02//Tilt
+R=600//Resistance(in ohm)
+T=1/f
+pw=T*1000/2
+C=pw/R
+R=pw/(t*C)
+disp(R,C,'Capacitance(in micro farad) and Resistance(in ohm)=')
\ No newline at end of file diff --git a/3517/CH3/EX3.9/Ex3_9.sce b/3517/CH3/EX3.9/Ex3_9.sce new file mode 100644 index 000000000..9b117e3d8 --- /dev/null +++ b/3517/CH3/EX3.9/Ex3_9.sce @@ -0,0 +1,17 @@ +//Caption:Calculate Capacitance,Resistance and Zener Voltage
+//Ex3.9
+clc;
+clear;
+close;
+E=15//Amplitude of input waveform(in volts)
+Rs=1//Source Resistance(in Kilo ohm)
+V=9//Output Voltage(in volts)
+Vf=0.7//Diode forward voltage(in volts)
+f=500//Frequency(in hertz)
+t=0.01//Tilt
+T=1000/f
+pw=T/2
+C=pw/Rs
+R=pw/(t*C)
+Vz=V-Vf
+disp(Vz,R,C,'Capacitance(in micro farad),Resistance(in Kilo ohm) and Zener Voltage(in volts)=')
\ No newline at end of file |