summaryrefslogtreecommitdiff
path: root/196/CH8
diff options
context:
space:
mode:
Diffstat (limited to '196/CH8')
-rwxr-xr-x196/CH8/EX8.1/example_8_1.sce13
-rwxr-xr-x196/CH8/EX8.1/result_8_1.txt1
-rwxr-xr-x196/CH8/EX8.10/example_8_10.sce9
-rwxr-xr-x196/CH8/EX8.10/result_8_10.txt1
-rwxr-xr-x196/CH8/EX8.11/example_8_11.sce20
-rwxr-xr-x196/CH8/EX8.11/result_8_11.txt7
-rwxr-xr-x196/CH8/EX8.2/example_8_2.sce10
-rwxr-xr-x196/CH8/EX8.2/result_8_2.txt1
-rwxr-xr-x196/CH8/EX8.3/example_8_3.sce10
-rwxr-xr-x196/CH8/EX8.3/result_8_3.txt1
-rwxr-xr-x196/CH8/EX8.4/example_8_4.sce8
-rwxr-xr-x196/CH8/EX8.4/result_8_4.txt1
-rwxr-xr-x196/CH8/EX8.5/example_8_5.sce11
-rwxr-xr-x196/CH8/EX8.5/result_8_5.txt1
-rwxr-xr-x196/CH8/EX8.6/example_8_6.sce9
-rwxr-xr-x196/CH8/EX8.6/result_8_6.txt1
-rwxr-xr-x196/CH8/EX8.7/example_8_7.sce12
-rwxr-xr-x196/CH8/EX8.7/result_8_7.txt3
-rwxr-xr-x196/CH8/EX8.8/example_8_8.sce16
-rwxr-xr-x196/CH8/EX8.8/result_8_8.txt8
-rwxr-xr-x196/CH8/EX8.9/example_8_9.sce11
-rwxr-xr-x196/CH8/EX8.9/result_8_9.txt1
22 files changed, 155 insertions, 0 deletions
diff --git a/196/CH8/EX8.1/example_8_1.sce b/196/CH8/EX8.1/example_8_1.sce
new file mode 100755
index 000000000..a3e07da0f
--- /dev/null
+++ b/196/CH8/EX8.1/example_8_1.sce
@@ -0,0 +1,13 @@
+//Chapter 8
+//Example 8-1
+//ProbOnOutputVoltage
+//Page 216, Figure 8-1
+clear;clc;
+//Given
+m = 100 ; //Differential Gain
+E1 = 10*10^-3; E2 = 10*10^-3;//input voltages
+E3 = 0*10^-3; E4 = -20*10^-3;//input voltages
+Vout1 = (m*E1)-(m*E2);//example 8-1(a)
+Vout2 = (m*E1)-(m*E3);//example 8-1(b)
+Vout3 = (m*E1)-(m*E4);//example 8-1(c)
+printf ( "\n\n Output Voltages are %.4f V, %.4f V, %.4f V ", Vout1,Vout2,Vout3) \ No newline at end of file
diff --git a/196/CH8/EX8.1/result_8_1.txt b/196/CH8/EX8.1/result_8_1.txt
new file mode 100755
index 000000000..f1e796788
--- /dev/null
+++ b/196/CH8/EX8.1/result_8_1.txt
@@ -0,0 +1 @@
+Output Voltages are 0.0000 V, 1.0000 V, 3.0000 V \ No newline at end of file
diff --git a/196/CH8/EX8.10/example_8_10.sce b/196/CH8/EX8.10/example_8_10.sce
new file mode 100755
index 000000000..27b063114
--- /dev/null
+++ b/196/CH8/EX8.10/example_8_10.sce
@@ -0,0 +1,9 @@
+//Chapter 8
+//Example 8-10
+//ProbOnWheatstoneBridge
+//Page 232, Figure 8-12
+clear;clc;
+E = 1 ;
+DR = 0.001 ; R = 120 ; //Resistance in Ohm
+Vout = (E*DR)/(4*R) ;
+printf ( "\n\n Output of the Bridge = %.9f V ", Vout ) \ No newline at end of file
diff --git a/196/CH8/EX8.10/result_8_10.txt b/196/CH8/EX8.10/result_8_10.txt
new file mode 100755
index 000000000..ac212ee0e
--- /dev/null
+++ b/196/CH8/EX8.10/result_8_10.txt
@@ -0,0 +1 @@
+ Output of the Bridge = 0.000002083 V \ No newline at end of file
diff --git a/196/CH8/EX8.11/example_8_11.sce b/196/CH8/EX8.11/example_8_11.sce
new file mode 100755
index 000000000..95b7bcd2a
--- /dev/null
+++ b/196/CH8/EX8.11/example_8_11.sce
@@ -0,0 +1,20 @@
+//Chapter 8
+//Example 8-11
+//ProbOnAD620
+//Page 237,238, Figure 8-17
+clear;clc;
+//Given
+Vout = 100*10^-3 ; E = 5 ; R = 120 ;
+Gain = 1000 ;
+E1 = 30 *10^6 ;
+Gf = 2 ;//Gage factor
+Vbridge = Vout / Gain ;
+DL = 20*10^-6 ;
+DR = (R * Vbridge)/E ;
+Rratio = DR / R ;//Change in Resistance
+Strain = DL / Gf ;//Change in Length
+Stress = E1 * Strain ;
+printf ( "\n\n Change in Resistance = %.4f ohm ", DR )
+printf ( "\n\n Ratio of Resistance = %.9f ohm per ohm ", Rratio )
+printf ( "\n\n Strain value = %.9f ", Strain )
+printf ( "\n\n Stress value = %.9f psi ", Stress ) \ No newline at end of file
diff --git a/196/CH8/EX8.11/result_8_11.txt b/196/CH8/EX8.11/result_8_11.txt
new file mode 100755
index 000000000..09181d50f
--- /dev/null
+++ b/196/CH8/EX8.11/result_8_11.txt
@@ -0,0 +1,7 @@
+ Change in Resistance = 0.0024 ohm
+
+ Ratio of Resistance = 0.000020000 ohm per ohm
+
+ Strain value = 0.000010000
+
+ Stress value = 300.000000000 psi \ No newline at end of file
diff --git a/196/CH8/EX8.2/example_8_2.sce b/196/CH8/EX8.2/example_8_2.sce
new file mode 100755
index 000000000..18dde1ee1
--- /dev/null
+++ b/196/CH8/EX8.2/example_8_2.sce
@@ -0,0 +1,10 @@
+//Chapter 8
+//Example 8-2
+//ProbOnDifferentialAmplifier
+//Page 220,221, Figure 8-5(b)
+clear;clc;
+//Given
+a = 2/9 ; //Differential Gain
+E1 = 10*10^-3; E2 = 5*10^-3; //Input Voltages
+Vout = (E1 - E2)*(1+(2/a));
+printf ( "\n\n output voltage = %.4f V ", Vout ) \ No newline at end of file
diff --git a/196/CH8/EX8.2/result_8_2.txt b/196/CH8/EX8.2/result_8_2.txt
new file mode 100755
index 000000000..ce410f21b
--- /dev/null
+++ b/196/CH8/EX8.2/result_8_2.txt
@@ -0,0 +1 @@
+ output voltage = 0.0500 V \ No newline at end of file
diff --git a/196/CH8/EX8.3/example_8_3.sce b/196/CH8/EX8.3/example_8_3.sce
new file mode 100755
index 000000000..46b23b397
--- /dev/null
+++ b/196/CH8/EX8.3/example_8_3.sce
@@ -0,0 +1,10 @@
+//Chapter 8
+//Example 8-3
+//ProbOnVoltageGain
+//Page 223
+clear;clc;
+R = 25*10^3 ;
+aR = 50 ;
+a = aR / R ;
+Gain = 1 + (2/a) ;
+printf ( "\n\n Voltage Gain = %.4f " , Gain ) \ No newline at end of file
diff --git a/196/CH8/EX8.3/result_8_3.txt b/196/CH8/EX8.3/result_8_3.txt
new file mode 100755
index 000000000..900372579
--- /dev/null
+++ b/196/CH8/EX8.3/result_8_3.txt
@@ -0,0 +1 @@
+Voltage Gain = 1001.0000 \ No newline at end of file
diff --git a/196/CH8/EX8.4/example_8_4.sce b/196/CH8/EX8.4/example_8_4.sce
new file mode 100755
index 000000000..9ecc064b5
--- /dev/null
+++ b/196/CH8/EX8.4/example_8_4.sce
@@ -0,0 +1,8 @@
+//Chapter 8
+//Example 8-4
+//ProbOnVoltageGain
+//Page 223
+clear;clc;
+a = %i; //Infinity
+Gain = 1+(2/a) ;
+printf ( "\n\n Voltage Gain = %.4f ", Gain ) \ No newline at end of file
diff --git a/196/CH8/EX8.4/result_8_4.txt b/196/CH8/EX8.4/result_8_4.txt
new file mode 100755
index 000000000..c0e59a89d
--- /dev/null
+++ b/196/CH8/EX8.4/result_8_4.txt
@@ -0,0 +1 @@
+Voltage Gain = 1.0000 \ No newline at end of file
diff --git a/196/CH8/EX8.5/example_8_5.sce b/196/CH8/EX8.5/example_8_5.sce
new file mode 100755
index 000000000..70d5c6778
--- /dev/null
+++ b/196/CH8/EX8.5/example_8_5.sce
@@ -0,0 +1,11 @@
+//Chapter 8
+//Example 8-5
+//ProbOnInstrumentationAmplifier
+//Page 222,223, Figure 8-6
+clear;clc;
+m = 1001 ;//Gain
+E1 = 5.001 ; E2 = 5.002 ; //example 8-5(a)
+E3 = 5.001 ; E4 = 5.000 ; //example 8-5(b)
+E5 = -1.001 ; E6 = -1.002 ; //example 8-5(c)
+Vout1 = m*(E1-E2); Vout2 = m*(E3-E4); Vout3 = m*(E5-E6);
+printf ( "\n\n Output Voltages are %.4f V , %.4f V, %.4f V ", Vout1,Vout2,Vout3) \ No newline at end of file
diff --git a/196/CH8/EX8.5/result_8_5.txt b/196/CH8/EX8.5/result_8_5.txt
new file mode 100755
index 000000000..faf5862f7
--- /dev/null
+++ b/196/CH8/EX8.5/result_8_5.txt
@@ -0,0 +1 @@
+ Output Voltages are -1.0010 V , 1.0010 V, 1.0010 V \ No newline at end of file
diff --git a/196/CH8/EX8.6/example_8_6.sce b/196/CH8/EX8.6/example_8_6.sce
new file mode 100755
index 000000000..b55c8c2cb
--- /dev/null
+++ b/196/CH8/EX8.6/example_8_6.sce
@@ -0,0 +1,9 @@
+//Chapter 8
+//Example 8-6
+//ProbOnCollectorVoltage
+//Page 226,227, Figure 8-9(b)
+clear;clc;
+//Given
+Vout = 5 ; //Output Voltage
+Vce = Vout ;
+printf ( "\n\n Collector Voltage = %.4f V ", Vce ) \ No newline at end of file
diff --git a/196/CH8/EX8.6/result_8_6.txt b/196/CH8/EX8.6/result_8_6.txt
new file mode 100755
index 000000000..153696927
--- /dev/null
+++ b/196/CH8/EX8.6/result_8_6.txt
@@ -0,0 +1 @@
+Collector Voltage = 5.0000 V \ No newline at end of file
diff --git a/196/CH8/EX8.7/example_8_7.sce b/196/CH8/EX8.7/example_8_7.sce
new file mode 100755
index 000000000..3a835d0e4
--- /dev/null
+++ b/196/CH8/EX8.7/example_8_7.sce
@@ -0,0 +1,12 @@
+//Chapter 8
+//Example 8-7
+//ProbOnVoltages
+//Page 226,227, Figure 8-9
+clear;clc;
+//Given
+Vre = 1.2 ; Re = 1*10^3 ;Vce = 5 ;Vcc = 15; //Voltages in the circuit
+Ie = Vre / Re ;
+Vcol = Vce + Vre ;
+Vrl = Vcc - Vcol ;
+printf ( "\n\n Collector Voltage = %.4f V ", Vcol )
+printf ( "\n\n Voltage across Rl = %.4f V ", Vrl ) \ No newline at end of file
diff --git a/196/CH8/EX8.7/result_8_7.txt b/196/CH8/EX8.7/result_8_7.txt
new file mode 100755
index 000000000..9053e2c59
--- /dev/null
+++ b/196/CH8/EX8.7/result_8_7.txt
@@ -0,0 +1,3 @@
+ Collector Voltage = 6.2000 V
+
+ Voltage across Rl = 8.8000 V \ No newline at end of file
diff --git a/196/CH8/EX8.8/example_8_8.sce b/196/CH8/EX8.8/example_8_8.sce
new file mode 100755
index 000000000..cda23f002
--- /dev/null
+++ b/196/CH8/EX8.8/example_8_8.sce
@@ -0,0 +1,16 @@
+//Chapter 8
+//Example 8-8
+//ProbOnVtoIConverter
+//Page 228, Figure 8-10
+clear;clc;
+Rs = 1*10^3 ; E1 = 100*10^-3 ;
+E2 = 0 ; Rl = 5*10^3 ;
+Gain = 10 ;
+Il = 10*((E1-E2)/Rs);
+Vr = Il * Rs ;
+Vref = Il * Rl ;
+V9 = Vref + Gain*(E1 - E2);
+printf ( "\n\n Current across Load Resistor = %.4f A ", Il )
+printf ( "\n\n Voltage across R = %.4f V ", Vr)
+printf ( "\n\n Reference Voltage = %.4f V ", Vref )
+printf ( "\n\n Voltage at terminal 9 = %.4f V ", V9 ) \ No newline at end of file
diff --git a/196/CH8/EX8.8/result_8_8.txt b/196/CH8/EX8.8/result_8_8.txt
new file mode 100755
index 000000000..b7624d39a
--- /dev/null
+++ b/196/CH8/EX8.8/result_8_8.txt
@@ -0,0 +1,8 @@
+
+ Current across Load Resistor = 0.0010 A
+
+ Voltage across R = 1.0000 V
+
+ Reference Voltage = 5.0000 V
+
+ Voltage at terminal 9 = 6.0000 V \ No newline at end of file
diff --git a/196/CH8/EX8.9/example_8_9.sce b/196/CH8/EX8.9/example_8_9.sce
new file mode 100755
index 000000000..0bb31a0c0
--- /dev/null
+++ b/196/CH8/EX8.9/example_8_9.sce
@@ -0,0 +1,11 @@
+//Chapter 8
+//Example 8-9
+//ProbOnStrainGage
+//Page 230,231
+clear;clc;
+//Given
+GF = 2 ;//Gage factor
+DR = 0.001 ;
+R = 120 ;
+L = DR /(R*GF) ;
+printf ( "\n\n Change in length is %.9f inches per inch ", L ) \ No newline at end of file
diff --git a/196/CH8/EX8.9/result_8_9.txt b/196/CH8/EX8.9/result_8_9.txt
new file mode 100755
index 000000000..0b1a8cd40
--- /dev/null
+++ b/196/CH8/EX8.9/result_8_9.txt
@@ -0,0 +1 @@
+Change in length is 0.000004167 inches per inch \ No newline at end of file