summaryrefslogtreecommitdiff
path: root/2330/CH3
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /2330/CH3
downloadScilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.gz
Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.bz2
Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.zip
initial commit / add all books
Diffstat (limited to '2330/CH3')
-rwxr-xr-x2330/CH3/EX3.1/ex3_1.sce15
-rwxr-xr-x2330/CH3/EX3.10/ex3_10.sce15
-rwxr-xr-x2330/CH3/EX3.11/ex3_11.sce25
-rwxr-xr-x2330/CH3/EX3.12/ex3_12.sce82
-rwxr-xr-x2330/CH3/EX3.2/ex3_2.sce34
-rwxr-xr-x2330/CH3/EX3.4/ex3_4.sce11
-rwxr-xr-x2330/CH3/EX3.5/ex3_5.sce21
-rwxr-xr-x2330/CH3/EX3.6/ex3_6.sce26
-rwxr-xr-x2330/CH3/EX3.7/ex3_7.sce11
-rwxr-xr-x2330/CH3/EX3.8/ex3_8.sce23
-rwxr-xr-x2330/CH3/EX3.9/ex3_9.sce83
11 files changed, 346 insertions, 0 deletions
diff --git a/2330/CH3/EX3.1/ex3_1.sce b/2330/CH3/EX3.1/ex3_1.sce
new file mode 100755
index 000000000..66101d53e
--- /dev/null
+++ b/2330/CH3/EX3.1/ex3_1.sce
@@ -0,0 +1,15 @@
+// Exa 3.1
+format('v',5)
+clc;
+clear;
+close;
+// given data
+Vin= 12;// in V
+V_LED= 2;// in V
+Rs= 470;// in Ω
+Vs= Vin-V_LED;// in V
+// The LED current
+I= Vs/Rs;// in A
+I= I*10^3;// in mA
+disp(I,"The LED current in mA is : ")
+
diff --git a/2330/CH3/EX3.10/ex3_10.sce b/2330/CH3/EX3.10/ex3_10.sce
new file mode 100755
index 000000000..8235f30cd
--- /dev/null
+++ b/2330/CH3/EX3.10/ex3_10.sce
@@ -0,0 +1,15 @@
+// Exa 3.10
+format('v',7)
+clc;
+clear;
+close;
+// given data
+R_Z= 7;// in Ω
+I_Z1=12.2;// in mA
+I_Z2=60.2;// in mA
+deltaV_Z=(I_Z2-I_Z1)*R_Z;// in mV
+deltaV_Z= deltaV_Z*10^-3;// in V
+Vz= 12;// in V
+// The output voltage,
+Vout= Vz+deltaV_Z;// in V
+disp(Vout,"The output voltage in V is : ");
diff --git a/2330/CH3/EX3.11/ex3_11.sce b/2330/CH3/EX3.11/ex3_11.sce
new file mode 100755
index 000000000..a9a1e7e62
--- /dev/null
+++ b/2330/CH3/EX3.11/ex3_11.sce
@@ -0,0 +1,25 @@
+// Exa 3.11
+format('v',6)
+clc;
+clear;
+close;
+// given data
+Vz= 12;// in V
+Vin= 15;// in V
+R_S= 200;// in Ω
+R_L= 1*10^3;// in Ω
+// The value of I_S
+I_S= (Vin-Vz)/R_S;// in A
+// The value of I_L
+I_L= Vz/R_L;// in A
+// The value of I_Z
+I_Z= I_S-I_L;// in A
+I_S= I_S*10^3;// in mA
+I_L= I_L*10^3;// in mA
+I_Z= I_Z*10^3;// in mA
+disp(I_S,"The value of I_S in mA is : ")
+disp(I_L,"The value of I_L in mA is : ")
+disp(I_Z,"The value of I_Z in mA is : ")
+
+
+
diff --git a/2330/CH3/EX3.12/ex3_12.sce b/2330/CH3/EX3.12/ex3_12.sce
new file mode 100755
index 000000000..5030ce788
--- /dev/null
+++ b/2330/CH3/EX3.12/ex3_12.sce
@@ -0,0 +1,82 @@
+// Exa 3.12
+format('v',6)
+clc;
+clear;
+close;
+// given data
+disp("(i) For 15 V input voltage");
+Vin= 15;// in V
+Vz= 12;// in V
+R_S= 200;// in Ω
+R_L= 1*10^3;// in Ω
+// The value of I_S
+I_S= (Vin-Vz)/R_S;// in A
+// The value of I_L
+I_L= Vz/R_L;// in A
+// The value of I_Z
+I_Z= I_S-I_L;// in A
+I_S= I_S*10^3;// in mA
+I_L= I_L*10^3;// in mA
+I_Z= I_Z*10^3;// in mA
+disp(I_S,"The value of I_S in mA is : ")
+disp(I_L,"The value of I_L in mA is : ")
+disp(I_Z,"The value of I_Z in mA is : ")
+disp("(ii) For 20 V input voltage");
+Vin= 20;// in V
+// The value of I_S
+I_S= (Vin-Vz)/R_S;// in A
+// The value of I_L
+I_L= Vz/R_L;// in A
+// The value of I_Z
+I_Z= I_S-I_L;// in A
+I_S= I_S*10^3;// in mA
+I_L= I_L*10^3;// in mA
+I_Z= I_Z*10^3;// in mA
+disp(I_S,"The value of I_S in mA is : ")
+disp(I_L,"The value of I_L in mA is : ")
+disp(I_Z,"The value of I_Z in mA is : ")
+disp("(iii) For 25 V input voltage");
+Vin= 25;// in V
+// The value of I_S
+I_S= (Vin-Vz)/R_S;// in A
+// The value of I_L
+I_L= Vz/R_L;// in A
+// The value of I_Z
+I_Z= I_S-I_L;// in A
+I_S= I_S*10^3;// in mA
+I_L= I_L*10^3;// in mA
+I_Z= I_Z*10^3;// in mA
+disp(I_S,"The value of I_S in mA is : ")
+disp(I_L,"The value of I_L in mA is : ")
+disp(I_Z,"The value of I_Z in mA is : ")
+disp("(iv) For 30 V input voltage");
+Vin= 30;// in V
+// The value of I_S
+I_S= (Vin-Vz)/R_S;// in A
+// The value of I_L
+I_L= Vz/R_L;// in A
+// The value of I_Z
+I_Z= I_S-I_L;// in A
+I_S= I_S*10^3;// in mA
+I_L= I_L*10^3;// in mA
+I_Z= I_Z*10^3;// in mA
+disp(I_S,"The value of I_S in mA is : ")
+disp(I_L,"The value of I_L in mA is : ")
+disp(I_Z,"The value of I_Z in mA is : ")
+disp("(v) For 35 V input voltage");
+Vin= 35;// in V
+// The value of I_S
+I_S= (Vin-Vz)/R_S;// in A
+// The value of I_L
+I_L= Vz/R_L;// in A
+// The value of I_Z
+I_Z= I_S-I_L;// in A
+I_S= I_S*10^3;// in mA
+I_L= I_L*10^3;// in mA
+I_Z= I_Z*10^3;// in mA
+disp(I_S,"The value of I_S in mA is : ")
+disp(I_L,"The value of I_L in mA is : ")
+disp(I_Z,"The value of I_Z in mA is : ")
+
+
+
diff --git a/2330/CH3/EX3.2/ex3_2.sce b/2330/CH3/EX3.2/ex3_2.sce
new file mode 100755
index 000000000..3cb32fb69
--- /dev/null
+++ b/2330/CH3/EX3.2/ex3_2.sce
@@ -0,0 +1,34 @@
+// Exa 3.2
+format('v',5)
+clc;
+clear;
+close;
+// given data
+Vin= 5;// in V
+V_LED= 2;// in V
+Rs= 470;// in Ω
+Vs= Vin-V_LED;// in V
+// When supply voltage is 5 V, the LED current
+I= Vs/Rs;// in A
+I= I*10^3;// in mA
+disp(I,"When supply voltage is 5 V, the LED current in mA is : ")
+Vin= 10;// in V
+Vs= Vin-V_LED;// in V
+// When supply voltage is 10 V, the LED current
+I= Vs/Rs;// in A
+I= I*10^3;// in mA
+disp(I,"When supply voltage is 10 V, the LED current in mA is : ")
+Vin= 15;// in V
+Vs= Vin-V_LED;// in V
+// When supply voltage is 15 V, the LED current
+I= Vs/Rs;// in A
+I= I*10^3;// in mA
+disp(I,"When supply voltage is 15 V, the LED current in mA is : ")
+Vin= 20;// in V
+Vs= Vin-V_LED;// in V
+// When supply voltage is 20 V, the LED current
+I= Vs/Rs;// in A
+I= I*10^3;// in mA
+disp(I,"When supply voltage is 20 V, the LED current in mA is : ")
+
+
diff --git a/2330/CH3/EX3.4/ex3_4.sce b/2330/CH3/EX3.4/ex3_4.sce
new file mode 100755
index 000000000..4b36603d9
--- /dev/null
+++ b/2330/CH3/EX3.4/ex3_4.sce
@@ -0,0 +1,11 @@
+// Exa 3.4
+format('v',5)
+clc;
+clear;
+close;
+// given data
+C1= 560;//transistor capacitance at 1V in pF
+C2= 30;//transistor capacitance at 10V in pF
+// The tuning range
+tuningRange= C1/C2;
+disp(tuningRange,"The tuning range is : ")
diff --git a/2330/CH3/EX3.5/ex3_5.sce b/2330/CH3/EX3.5/ex3_5.sce
new file mode 100755
index 000000000..cc829a633
--- /dev/null
+++ b/2330/CH3/EX3.5/ex3_5.sce
@@ -0,0 +1,21 @@
+// Exa 3.5
+format('v',5)
+clc;
+clear;
+close;
+// given data
+Vin_min= 20;// in V
+Vin_max= 40;// in V
+Vz= 10;// in V
+Rs= 820;// in Ω
+// The minimum zener current,
+Iz_min= (Vin_min-Vz)/Rs;// in A
+// The maximum zener current,
+Iz_max= (Vin_max-Vz)/Rs;// in A
+// The output voltage,
+Vout= Vz;// in V
+Iz_min= Iz_min*10^3;// in mA
+Iz_max= Iz_max*10^3;// in mA
+disp(Iz_min,"The minimum zener current in mA is : ");
+disp(Iz_max,"The maximum zener current in mA is : ");
+disp(Vout,"The output voltage in V is : ")
diff --git a/2330/CH3/EX3.6/ex3_6.sce b/2330/CH3/EX3.6/ex3_6.sce
new file mode 100755
index 000000000..f8cd8675c
--- /dev/null
+++ b/2330/CH3/EX3.6/ex3_6.sce
@@ -0,0 +1,26 @@
+// Exa 3.6
+format('v',5)
+clc;
+clear;
+close;
+// given data
+Rs= 820;// in Ω
+Rz= 17;// in Ω
+R_T= Rs+Rz;// in Ω
+Vz= 10;// in V
+Vin_min= 20;// in V
+Vin_max= 40;// in V
+// The minimum zener current
+Iz_min= (Vin_min-Vz)/R_T;// in A
+// The maximum zener current
+Iz_max= (Vin_max-Vz)/R_T;// in A
+// The minimum output voltage
+Vout_min= Vz+Iz_min*Rz;// in V
+// The maximum output voltage
+Vout_max= Vz+Iz_max*Rz;// in V
+Iz_min= Iz_min*10^3;// in mA
+Iz_max= Iz_max*10^3;// in mA
+disp(Iz_min,"The minimum zener current in mA is : ")
+disp(Iz_max,"The maximum zener current in mA is : ")
+disp(Vout_min,"The minimum output voltage in V is : ")
+disp(Vout_max,"The maximum output voltage in V is : ")
diff --git a/2330/CH3/EX3.7/ex3_7.sce b/2330/CH3/EX3.7/ex3_7.sce
new file mode 100755
index 000000000..71df4861f
--- /dev/null
+++ b/2330/CH3/EX3.7/ex3_7.sce
@@ -0,0 +1,11 @@
+// Exa 3.7
+format('v',5)
+clc;
+clear;
+close;
+// given data
+P= 100;// power rating in mW
+V= 6.2;// in V
+// The maximum current rating
+I_ZM= P/V;// in mA
+disp(I_ZM,"The maximum current rating in mA is : ")
diff --git a/2330/CH3/EX3.8/ex3_8.sce b/2330/CH3/EX3.8/ex3_8.sce
new file mode 100755
index 000000000..0563dbcb2
--- /dev/null
+++ b/2330/CH3/EX3.8/ex3_8.sce
@@ -0,0 +1,23 @@
+// Exa 3.8
+format('v',5)
+clc;
+clear;
+close;
+// given data
+Vz= 12;// in V
+Vout= Vz;// in V
+Vin= 25;// in V
+R_S= 180;// in Ω
+R_L= 200;// in Ω
+// The value of I_S
+I_S= (Vin-Vout)/R_S;// in A
+// The value of I_L
+I_L= Vout/R_L;// in A
+// The value of I_Z
+I_Z= I_S-I_L;// in A
+I_S= I_S*10^3;// in mA
+I_L= I_L*10^3;// in mA
+I_Z= I_Z*10^3;// in mA
+disp(I_S,"The value of I_S in mA is : ")
+disp(I_L,"The value of I_L in mA is : ")
+disp(I_Z,"The value of I_Z in mA is : ")
diff --git a/2330/CH3/EX3.9/ex3_9.sce b/2330/CH3/EX3.9/ex3_9.sce
new file mode 100755
index 000000000..82486ff0c
--- /dev/null
+++ b/2330/CH3/EX3.9/ex3_9.sce
@@ -0,0 +1,83 @@
+// Exa 3.9
+format('v',5)
+clc;
+clear;
+close;
+// given data
+disp("(i) For 200 Ω load resistance");
+R_L= 200;// in Ω
+Vz= 12;// in V
+Vout= Vz;// in V
+Vin= 25;// in V
+R_S= 180;// in Ω
+// The value of I_S
+I_S= (Vin-Vout)/R_S;// in A
+// The value of I_L
+I_L= Vout/R_L;// in A
+// The value of I_Z
+I_Z= I_S-I_L;// in A
+I_S= I_S*10^3;// in mA
+I_L= I_L*10^3;// in mA
+I_Z= I_Z*10^3;// in mA
+disp(I_S,"The value of I_S in mA is : ")
+disp(I_L,"The value of I_L in mA is : ")
+disp(I_Z,"The value of I_Z in mA is : ")
+disp("(ii) For 400 Ω load resistance");
+R_L= 400;// in Ω
+// The value of I_S
+I_S= (Vin-Vout)/R_S;// in A
+// The value of I_L
+I_L= Vout/R_L;// in A
+// The value of I_Z
+I_Z= I_S-I_L;// in A
+I_S= I_S*10^3;// in mA
+I_L= I_L*10^3;// in mA
+I_Z= I_Z*10^3;// in mA
+disp(I_S,"The value of I_S in mA is : ")
+disp(I_L,"The value of I_L in mA is : ")
+disp(I_Z,"The value of I_Z in mA is : ")
+disp("(iii) For 600 Ω load resistance");
+R_L= 600;// in Ω
+// The value of I_S
+I_S= (Vin-Vout)/R_S;// in A
+// The value of I_L
+I_L= Vout/R_L;// in A
+// The value of I_Z
+I_Z= I_S-I_L;// in A
+I_S= I_S*10^3;// in mA
+I_L= I_L*10^3;// in mA
+I_Z= I_Z*10^3;// in mA
+disp(I_S,"The value of I_S in mA is : ")
+disp(I_L,"The value of I_L in mA is : ")
+disp(I_Z,"The value of I_Z in mA is : ")
+disp("(iv) For 800 Ω load resistance");
+R_L= 800;// in Ω
+// The value of I_S
+I_S= (Vin-Vout)/R_S;// in A
+// The value of I_L
+I_L= Vout/R_L;// in A
+// The value of I_Z
+I_Z= I_S-I_L;// in A
+I_S= I_S*10^3;// in mA
+I_L= I_L*10^3;// in mA
+I_Z= I_Z*10^3;// in mA
+disp(I_S,"The value of I_S in mA is : ")
+disp(I_L,"The value of I_L in mA is : ")
+disp(I_Z,"The value of I_Z in mA is : ")
+disp("(v) For 1 kΩ load resistance");
+R_L= 1*10^3;// in Ω
+// The value of I_S
+I_S= (Vin-Vout)/R_S;// in A
+// The value of I_L
+I_L= Vout/R_L;// in A
+// The value of I_Z
+I_Z= I_S-I_L;// in A
+I_S= I_S*10^3;// in mA
+I_L= I_L*10^3;// in mA
+I_Z= I_Z*10^3;// in mA
+disp(I_S,"The value of I_S in mA is : ")
+disp(I_L,"The value of I_L in mA is : ")
+disp(I_Z,"The value of I_Z in mA is : ")
+
+
+