summaryrefslogtreecommitdiff
path: root/1859/CH8
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /1859/CH8
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 '1859/CH8')
-rwxr-xr-x1859/CH8/EX8.1/exa_8_1.sce21
-rwxr-xr-x1859/CH8/EX8.10/exa_8_10.sce10
-rwxr-xr-x1859/CH8/EX8.11/exa_8_11.sce19
-rwxr-xr-x1859/CH8/EX8.12/exa_8_12.sce27
-rwxr-xr-x1859/CH8/EX8.13/exa_8_13.sce10
-rwxr-xr-x1859/CH8/EX8.14/exa_8_14.sce14
-rwxr-xr-x1859/CH8/EX8.15/exa_8_15.sce14
-rwxr-xr-x1859/CH8/EX8.16/exa_8_16.sce16
-rwxr-xr-x1859/CH8/EX8.17/exa_8_17.sce14
-rwxr-xr-x1859/CH8/EX8.2/exa_8_2.sce10
-rwxr-xr-x1859/CH8/EX8.3/exa_8_3.sce13
-rwxr-xr-x1859/CH8/EX8.4/exa_8_4.sce14
-rwxr-xr-x1859/CH8/EX8.5/exa_8_5.sce15
-rwxr-xr-x1859/CH8/EX8.6/exa_8_6.sce15
-rwxr-xr-x1859/CH8/EX8.7/exa_8_7.sce11
-rwxr-xr-x1859/CH8/EX8.8/exa_8_8.sce12
-rwxr-xr-x1859/CH8/EX8.9/exa_8_9.sce12
17 files changed, 247 insertions, 0 deletions
diff --git a/1859/CH8/EX8.1/exa_8_1.sce b/1859/CH8/EX8.1/exa_8_1.sce
new file mode 100755
index 000000000..595a0be63
--- /dev/null
+++ b/1859/CH8/EX8.1/exa_8_1.sce
@@ -0,0 +1,21 @@
+// Exa 8.1
+clc;
+clear;
+close;
+// Given data
+l=25;// in mm
+l=l*10^-3;// in meter
+d=5;// in mm
+d=d*10^-3;// in meter
+S= 20;// in cm
+S= S*10^-2;// in meter
+Va= 3000;// in volts
+TraceLength= 10;// in cm
+TraceLength=TraceLength*10^-2;// in meter
+y=TraceLength/2;
+Vd= 2*d*Va*y/(l*S);// in volts
+Vrms= Vd/sqrt(2);// in volts
+Vrms= floor(Vrms);
+disp(Vrms,"RMS value of the sinusoidal voltage applied to the X-deflecting plates in volt");
+DeflectionSensitivity= l*S/(2*d*Va);// in m/V
+disp(DeflectionSensitivity*10^3,"Deflection Sensitivity in mm/V");
diff --git a/1859/CH8/EX8.10/exa_8_10.sce b/1859/CH8/EX8.10/exa_8_10.sce
new file mode 100755
index 000000000..1c2f3624f
--- /dev/null
+++ b/1859/CH8/EX8.10/exa_8_10.sce
@@ -0,0 +1,10 @@
+// Exa 8.10
+clc;
+clear;
+close;
+// Given data
+f_x= 1000;// in Hz
+Y= 2;// points of tangency to vertical line
+X= 5;// points of tangency to horizontal line
+f_y= f_x*X/Y;// in Hz
+disp(f_y,"Frequency of vertical input in Hz")
diff --git a/1859/CH8/EX8.11/exa_8_11.sce b/1859/CH8/EX8.11/exa_8_11.sce
new file mode 100755
index 000000000..909e036e6
--- /dev/null
+++ b/1859/CH8/EX8.11/exa_8_11.sce
@@ -0,0 +1,19 @@
+// Exa 8.11
+clc;
+clear;
+close;
+// Given data
+// Taking 1div= 1 cm for CRO wave displays
+Mark= 0.4;// cm
+Space= 1.6;// cm
+SAC= 0.2;// signal amplitude control in V/div
+TBS= 10;// time base control in micro/div
+Amplitude= 2.15;// in cm
+M_S_ratio= Mark/Space;// Mark to Space raio
+disp(M_S_ratio,"Mark to Space raio ")
+T= (Mark+Space)*TBS;// in micro sec
+T=T*10^-6;// in sec
+f=1/T;// in Hz
+disp(f*10^-3,"Pulse frequency in kHz")
+Mag= Amplitude*SAC;// Magnitude of pulse voltage in volt
+disp(Mag,"Magnitude of pulse voltage in volt")
diff --git a/1859/CH8/EX8.12/exa_8_12.sce b/1859/CH8/EX8.12/exa_8_12.sce
new file mode 100755
index 000000000..b43627752
--- /dev/null
+++ b/1859/CH8/EX8.12/exa_8_12.sce
@@ -0,0 +1,27 @@
+// Exa 8.12
+clc;
+clear;
+close;
+// Given data
+// Part (a)
+d_v0= 0;
+Dv=6;
+fie= asind(d_v0/Dv);
+disp(fie,"Phase angle of first figure in degree")
+// Part (b)
+d_v0= 3;
+Dv=6;
+fie= asind(d_v0/Dv);
+disp(fie,"Phase angle of second figure in degree")
+// Part (c)
+d_v0= 5;
+Dv=5;
+fie= asind(d_v0/Dv);
+disp(fie,"Phase angle of third figure in degree")
+// Part (d)
+d_v0= 3;
+Dv=5;
+fie= asind(d_v0/Dv);
+// since ellipse is in 2nd and fourth quartes so the valid value of phase angle
+fie= 180-fie
+disp(fie,"Phase angle of forth figure in degree")
diff --git a/1859/CH8/EX8.13/exa_8_13.sce b/1859/CH8/EX8.13/exa_8_13.sce
new file mode 100755
index 000000000..f4df44b9a
--- /dev/null
+++ b/1859/CH8/EX8.13/exa_8_13.sce
@@ -0,0 +1,10 @@
+// Exa 8.13
+clc;
+clear;
+close;
+// Given data
+f=2000;// in Hz
+T=1/f;// in sec
+D=0.2;
+PulseDuration= D*T;// in sec
+disp(PulseDuration*10^3,"Pulse duration in ms")
diff --git a/1859/CH8/EX8.14/exa_8_14.sce b/1859/CH8/EX8.14/exa_8_14.sce
new file mode 100755
index 000000000..455a8e4a4
--- /dev/null
+++ b/1859/CH8/EX8.14/exa_8_14.sce
@@ -0,0 +1,14 @@
+// Exa 8.14
+clc;
+clear;
+close;
+// Given data
+vertical_attenuation= 0.5;// in V/Div
+TPD= 2;// time/Div control in micro sec
+P= 4*vertical_attenuation;// peak-to-peak amplitude of the signal in V;
+disp(P,"Peak-to-Peak amplitude of the signal in V")
+T= 4*TPD;// in micro sec
+T=T*10^-6;// in sec
+f=1/T;// in Hz
+disp(f*10^-3,"Frequency in kHz")
+
diff --git a/1859/CH8/EX8.15/exa_8_15.sce b/1859/CH8/EX8.15/exa_8_15.sce
new file mode 100755
index 000000000..febb297c4
--- /dev/null
+++ b/1859/CH8/EX8.15/exa_8_15.sce
@@ -0,0 +1,14 @@
+// Exa 8.15
+clc;
+clear;
+close;
+// Given data
+C_1N= 36;// in pF
+C_2= 150;// in pF
+R_1N= 1;// in M ohm
+R_1= 10;// in M ohm
+// R_1/(omega*(C_2+C_1N)) = R_1N/(omega*C_1)
+C_1= R_1N*(C_2+C_1N)/R_1;// in pF
+disp(C_1,"Value of C_1 in pF")
+C_T= 1/(1/C_1+1/(C_2+C_1N));// in pF
+disp(C_T,"Value of C_T in pF")
diff --git a/1859/CH8/EX8.16/exa_8_16.sce b/1859/CH8/EX8.16/exa_8_16.sce
new file mode 100755
index 000000000..1a725f7cc
--- /dev/null
+++ b/1859/CH8/EX8.16/exa_8_16.sce
@@ -0,0 +1,16 @@
+// Exa 8.16
+clc;
+clear;
+close;
+// Given data
+C_1N= 36;// in pF
+C_2= 150;// in pF
+R_1N= 1;// in M ohm
+R_1= 10;// in M ohm
+R_source= 500;// in ohm
+// R_1/(omega*(C_2+C_1N)) = R_1N/(omega*C_1)
+C_1= R_1N*(C_2+C_1N)/R_1;// in pF
+C_T= 1/(1/C_1+1/(C_2+C_1N));// in pF
+C_T= C_T*10^-12;// in F
+f= 1/(2*%pi*C_T*R_source);
+disp(f*10^-6,"Signal Frequency in MHz")
diff --git a/1859/CH8/EX8.17/exa_8_17.sce b/1859/CH8/EX8.17/exa_8_17.sce
new file mode 100755
index 000000000..9a4b647c3
--- /dev/null
+++ b/1859/CH8/EX8.17/exa_8_17.sce
@@ -0,0 +1,14 @@
+// Exa 8.17
+clc;
+clear;
+close;
+// Given data
+f= 20;// in MHz
+f=f*10^6;// in Hz
+toh= 1/f;// in sec
+toh=toh*10^9;// in ns
+// For one cycle occupying 4 horizontal divisions,
+MTD= toh/4;// Minimum time/division in ns/division
+// Using the 10 times magnifier to provide MTD
+MTD_setting= 10*MTD;// minimum time/division setting in ns/division
+disp(MTD_setting,"Minimum time/division setting in ns/division")
diff --git a/1859/CH8/EX8.2/exa_8_2.sce b/1859/CH8/EX8.2/exa_8_2.sce
new file mode 100755
index 000000000..a5af1ca71
--- /dev/null
+++ b/1859/CH8/EX8.2/exa_8_2.sce
@@ -0,0 +1,10 @@
+// Exa 8.2
+clc;
+clear;
+close;
+// Given data
+Va= 1000;// in volts
+e= 1.6*10^-19;// in C
+m= 9.1*10^-31;// in kg
+MaxVel= sqrt(2*Va*e/m);// maximum velocity of electrons in m/s
+disp(MaxVel,"Maximum velocity of electrons in m/s")
diff --git a/1859/CH8/EX8.3/exa_8_3.sce b/1859/CH8/EX8.3/exa_8_3.sce
new file mode 100755
index 000000000..04e274ded
--- /dev/null
+++ b/1859/CH8/EX8.3/exa_8_3.sce
@@ -0,0 +1,13 @@
+// Exa 8.3
+clc;
+clear;
+close;
+// Given data
+l=20;// in mm
+l=l*10^-3;// in meter
+d=5;// in mm
+d=d*10^-3;// in meter
+S= 0.20;// in meter
+Va= 2500;// in volts
+DeflectionSensitivity= l*S/(2*d*Va);// in m/V
+disp(DeflectionSensitivity*10^3,"Deflection Sensitivity in mm/V");
diff --git a/1859/CH8/EX8.4/exa_8_4.sce b/1859/CH8/EX8.4/exa_8_4.sce
new file mode 100755
index 000000000..e7caa1131
--- /dev/null
+++ b/1859/CH8/EX8.4/exa_8_4.sce
@@ -0,0 +1,14 @@
+// Exa 8.4
+clc;
+clear;
+close;
+// Given data
+l=2.5;// in cm
+l=l*10^-2;// in meter
+d=1;// in cm
+d=d*10^-2;// in meter
+Va= 1000;// in volts
+theta= 1;// in degree
+// Formula tand(theta) = l*Vd/(2*d*Va)
+Vd= 2*d*Va/l*tand(theta);// in volts
+disp(Vd,"Voltage required across the deflection plates in volts")
diff --git a/1859/CH8/EX8.5/exa_8_5.sce b/1859/CH8/EX8.5/exa_8_5.sce
new file mode 100755
index 000000000..bb1218a52
--- /dev/null
+++ b/1859/CH8/EX8.5/exa_8_5.sce
@@ -0,0 +1,15 @@
+// Exa 8.5
+clc;
+clear;
+close;
+// Given data
+l=2.5;// in cm
+l=l*10^-2;// in meter
+d=.5;// in cm
+d=d*10^-2;// in meter
+S= 20;// in cm
+S= S*10^-2;// in meter
+Va= 2500;// in volts
+// Formula y = OC*AB/OB = (S*d/2)/(l/2)
+y = (S*d/2)/(l/2);// in meter
+disp(y*10^2,"Deflection in cm")
diff --git a/1859/CH8/EX8.6/exa_8_6.sce b/1859/CH8/EX8.6/exa_8_6.sce
new file mode 100755
index 000000000..477b6faf1
--- /dev/null
+++ b/1859/CH8/EX8.6/exa_8_6.sce
@@ -0,0 +1,15 @@
+// Exa 8.6
+clc;
+clear;
+close;
+// Given data
+R_E1= 5.6;// in kohm
+C1= 0.2;// in miu F
+V_B1= 6.3;// in volt
+V_BE= 0.7;// in volt
+TL= 2.5;// trigger level for the Schmitt trigger (UTP,LTP) in volt
+del_V1= 2*TL;// in volt
+I_C1= (V_B1-V_BE)/R_E1;// in mA
+disp(I_C1,"Charging current in mA");
+toh= del_V1*C1/I_C1;// in ms
+disp(toh,"Time period in ms")
diff --git a/1859/CH8/EX8.7/exa_8_7.sce b/1859/CH8/EX8.7/exa_8_7.sce
new file mode 100755
index 000000000..5d0705ade
--- /dev/null
+++ b/1859/CH8/EX8.7/exa_8_7.sce
@@ -0,0 +1,11 @@
+// Exa 8.7
+clc;
+clear;
+close;
+// Given data
+L=10;// trace length in cm
+DS= 5;// deflection sensitivity in V/cm
+V_peakTOpeak= L*DS;// in volt
+V_peak= V_peakTOpeak/2;// in volt
+RMS= V_peak/sqrt(2);// RMS value of unknown as voltage in volt
+disp(RMS,"AC voltage in volt")
diff --git a/1859/CH8/EX8.8/exa_8_8.sce b/1859/CH8/EX8.8/exa_8_8.sce
new file mode 100755
index 000000000..465bb231d
--- /dev/null
+++ b/1859/CH8/EX8.8/exa_8_8.sce
@@ -0,0 +1,12 @@
+// Exa 8.8
+clc;
+clear;
+close;
+// Given data
+Y= 3;// Positive Y-peaks in pattern
+X= 2;// Positive X-peaks in pattern
+// Ratio of frequencies of vertical and horizontal signals
+// f_y/f_x= omega_y/omega_x = Y/X
+R= Y/X;//Ratio of frequencies
+disp(R,"Ratio of frequencies of vertical and horizontal signals");
+
diff --git a/1859/CH8/EX8.9/exa_8_9.sce b/1859/CH8/EX8.9/exa_8_9.sce
new file mode 100755
index 000000000..2b0413707
--- /dev/null
+++ b/1859/CH8/EX8.9/exa_8_9.sce
@@ -0,0 +1,12 @@
+// Exa 8.9
+clc;
+clear;
+close;
+// Given data
+Y= 2+1/2;// Positive Y-peaks in pattern
+X= 1/2+1/2;// Positive X-peaks in pattern
+f_h= 3// frequency of horizontal voltage signal in kHz
+f_yBYf_x= Y/X;
+// frequency of vertical voltage signal= f_yBYf_x * f_h
+f_v= f_yBYf_x * f_h;// frequency of vertical voltage signal in kHz
+disp(f_v,"frequency of vertical voltage signal in kHz");