From 7f60ea012dd2524dae921a2a35adbf7ef21f2bb6 Mon Sep 17 00:00:00 2001 From: prashantsinalkar Date: Tue, 10 Oct 2017 12:27:19 +0530 Subject: initial commit / add all books --- 3754/CH35/EX35.1/35_1.sce | 14 ++++++++++++++ 3754/CH35/EX35.10/35_10.sce | 23 +++++++++++++++++++++++ 3754/CH35/EX35.11/35_11.sce | 19 +++++++++++++++++++ 3754/CH35/EX35.12/35_12.sce | 19 +++++++++++++++++++ 3754/CH35/EX35.14/35_14.sce | 19 +++++++++++++++++++ 3754/CH35/EX35.2/35_2.sce | 14 ++++++++++++++ 3754/CH35/EX35.3/35_3.sce | 14 ++++++++++++++ 3754/CH35/EX35.4/35_4.sce | 16 ++++++++++++++++ 3754/CH35/EX35.5/35_5.sce | 14 ++++++++++++++ 3754/CH35/EX35.6/35_6.sce | 17 +++++++++++++++++ 3754/CH35/EX35.7/35_7.sce | 18 ++++++++++++++++++ 3754/CH35/EX35.8/35_8.sce | 16 ++++++++++++++++ 3754/CH35/EX35.9/35_9.sce | 21 +++++++++++++++++++++ 13 files changed, 224 insertions(+) create mode 100644 3754/CH35/EX35.1/35_1.sce create mode 100644 3754/CH35/EX35.10/35_10.sce create mode 100644 3754/CH35/EX35.11/35_11.sce create mode 100644 3754/CH35/EX35.12/35_12.sce create mode 100644 3754/CH35/EX35.14/35_14.sce create mode 100644 3754/CH35/EX35.2/35_2.sce create mode 100644 3754/CH35/EX35.3/35_3.sce create mode 100644 3754/CH35/EX35.4/35_4.sce create mode 100644 3754/CH35/EX35.5/35_5.sce create mode 100644 3754/CH35/EX35.6/35_6.sce create mode 100644 3754/CH35/EX35.7/35_7.sce create mode 100644 3754/CH35/EX35.8/35_8.sce create mode 100644 3754/CH35/EX35.9/35_9.sce (limited to '3754/CH35') diff --git a/3754/CH35/EX35.1/35_1.sce b/3754/CH35/EX35.1/35_1.sce new file mode 100644 index 000000000..8b50ba6f9 --- /dev/null +++ b/3754/CH35/EX35.1/35_1.sce @@ -0,0 +1,14 @@ +clear// + +//Variables + +Adm = 200000.0 //Differential gain +Acm = 6.33 //Common mode gain + +//Calculation + +CMRR = 20 * log10(Adm / Acm) //Common-mode rejection ratio (in Decibels) + +//Result + +printf("\n The common-mode rejection ratio is %0.0f dB.",CMRR) diff --git a/3754/CH35/EX35.10/35_10.sce b/3754/CH35/EX35.10/35_10.sce new file mode 100644 index 000000000..57268869c --- /dev/null +++ b/3754/CH35/EX35.10/35_10.sce @@ -0,0 +1,23 @@ +clear// + +//Variables + +R2 = 100.0 * 10**3 //Resistance (in ohm) +R1 = 10.0 * 10**3 //Resistance (in ohm) +Slew_rate = 0.5 * 10**6 //Slew rate (in volt per second) +Vpk = 5.5 //Peak voltage (in volts) +RL = 10.0 * 10**3 //Load resistance (in ohm) +ACM = 0.001 //Common mode gain + +//Calculation + +ACL = (1 + R2/R1) //Closed loop voltage gain +CMRR = ACL / ACM //Common-mode rejection ratio +vin = 1.0 //Voltage (in volts) +Vout = ACL * vin //Output voltage (in volts) +Vpk = 5.5 //Peak-to-peak voltage (in volts) +fmax = Slew_rate/(2*%pi*Vpk) //Maximum frequency (in Hertz) + +//Result + +printf("\n Closed loop gain is %0.3f .\nCMRR is %0.3f .\nMaximum operating frequency is %0.2f kHz.",ACL,CMRR,fmax*10**-3) diff --git a/3754/CH35/EX35.11/35_11.sce b/3754/CH35/EX35.11/35_11.sce new file mode 100644 index 000000000..f8fee302d --- /dev/null +++ b/3754/CH35/EX35.11/35_11.sce @@ -0,0 +1,19 @@ +clear// + +//Variables + +ACL = 1.0 //Closed loop gain +Acm = 0.001 //Common mode gain +Slew_rate = 0.5 * 10**6 //Slew rate (in Volt per second) + +//Calculation + +CMRR = ACL / Acm //Common-mode rejection ratio +vin = 1.0 //Voltage (in volts) +Vout = ACL * vin //Output voltage (in volts) +Vpk = 3.0 //Peak-to-peak voltage (in volts) +fmax = Slew_rate/(2*%pi*Vpk) //Maximum frequency (in Hertz) + +//Result + +printf("\n ACL is %0.3f .\nCMRR is %0.3f .\nfmax is %0.1f kHz.",ACL,CMRR,fmax*10**-3) diff --git a/3754/CH35/EX35.12/35_12.sce b/3754/CH35/EX35.12/35_12.sce new file mode 100644 index 000000000..d494cbf76 --- /dev/null +++ b/3754/CH35/EX35.12/35_12.sce @@ -0,0 +1,19 @@ +clear// + +//Variables + +V1 = 0.1 //Voltage (in volts) +V2 = 1.0 //Voltage (in volts) +V3 = 0.5 //Voltage (in volts) +R1 = 10.0 * 10**3 //Resistance (in ohm) +R2 = 10.0 * 10**3 //Resistance (in ohm) +R3 = 10.0 * 10**3 //Resistance (in ohm) +R4 = 22.0 * 10**3 //Resistance (in ohm) + +//Calculation + +Vout = (-R4/R1*V1) + (-R4/R2*V2) + (-R4/R3*V3) //Output voltage (in volts) + +//Result + +printf("\n Output voltage is %0.3f V.",abs(Vout)) diff --git a/3754/CH35/EX35.14/35_14.sce b/3754/CH35/EX35.14/35_14.sce new file mode 100644 index 000000000..e8aa2ff76 --- /dev/null +++ b/3754/CH35/EX35.14/35_14.sce @@ -0,0 +1,19 @@ +clear// + +//Variables + +V1 = -2.0 //Voltage (in volts) +V2 = 2.0 //Voltage (in volts) +V3 = -1.0 //Voltage (in volts) +R1 = 200.0 * 10**3 //Resistance (in ohm) +R2 = 250.0 * 10**3 //Resistance (in ohm) +R3 = 500.0 * 10**3 //Resistance (in ohm) +Rf = 1.0 * 10**6 //Resistance (in ohm) + +//Calculation + +Vout = (-Rf/R1*V1) + (-Rf/R2*V2) + (-Rf/R3*V3) //Output voltage (in volts) + +//Result + +printf("\n Output voltage is %0.3f V.",Vout) diff --git a/3754/CH35/EX35.2/35_2.sce b/3754/CH35/EX35.2/35_2.sce new file mode 100644 index 000000000..f15b7363c --- /dev/null +++ b/3754/CH35/EX35.2/35_2.sce @@ -0,0 +1,14 @@ +clear// + +//Variables + +CMRR = 90.0 //Common-mode rejection ratio (in Decibels) +Adm = 30000.0 //Differential gain + +//Calculation + +Acm = 10**(-CMRR/20.0) * Adm //Common-mode gain + +//Result + +printf("\n The common-mode gain is %0.3f .",Acm) diff --git a/3754/CH35/EX35.3/35_3.sce b/3754/CH35/EX35.3/35_3.sce new file mode 100644 index 000000000..722993f4c --- /dev/null +++ b/3754/CH35/EX35.3/35_3.sce @@ -0,0 +1,14 @@ +clear// + +//Variables + +Slew_rate = 0.5 * 10**6 //Slew rate (in volt per second) +Vpk = 100.0 * 10**-3 //Peak-to-peak voltage (in volts) + +//Calculation + +fmax = Slew_rate / (2 * %pi * Vpk) //Maximum operating frequency (in Hertz) + +//Result + +printf("\n The maximum operating frequency for the amplifier is %0.0f kHz.",fmax * 10**-3) diff --git a/3754/CH35/EX35.4/35_4.sce b/3754/CH35/EX35.4/35_4.sce new file mode 100644 index 000000000..f3a3818b7 --- /dev/null +++ b/3754/CH35/EX35.4/35_4.sce @@ -0,0 +1,16 @@ +clear// + +//Variables + +Slew_rate1 = 0.5 * 10**6 //Slew rate (in volt per second) +Slew_rate2 = 13.0 * 10**6 //Slew rate (in volt per second) +Vpk = 10.0 //Peak-to-peak voltage (in volts) + +//Calculation + +fmax = Slew_rate1 / (2 * %pi * Vpk) //Maximum operating frequency1 (in Hertz) +fmax1 = Slew_rate2 / (2 * %pi * Vpk) //Maximum operating frequency2 (in Hertz) + +//Result + +printf("\n The maximum operating frequency for TLO 741 is %0.3f kHz.\nThe maximum opearing frequency for TLO 81 is %0.1f kHz.",fmax*10**-3,fmax1*10**-3) diff --git a/3754/CH35/EX35.5/35_5.sce b/3754/CH35/EX35.5/35_5.sce new file mode 100644 index 000000000..fee99dc99 --- /dev/null +++ b/3754/CH35/EX35.5/35_5.sce @@ -0,0 +1,14 @@ +clear// + +//Variables + +ACL = 200.0 //Closed loop voltage gain +Vout = 8.0 //Output voltage (in volts) + +//Calculation + +Vin = - Vout / ACL //Input a.c. voltage (in volts) + +//Result + +printf("\n Maximum allowable input voltage (Vin) is %0.3f mV." ,abs(Vin * 10**3)) diff --git a/3754/CH35/EX35.6/35_6.sce b/3754/CH35/EX35.6/35_6.sce new file mode 100644 index 000000000..08a156646 --- /dev/null +++ b/3754/CH35/EX35.6/35_6.sce @@ -0,0 +1,17 @@ +clear// + +//Variables + +ACL = 150.0 //Closed loop voltage gain +Vin = 200.0 * 10**-3 //Input a.c. voltage (in volts) +V = 12.0 //Voltage (in volts) + +//Calculation + +Vout = ACL * Vin //Output voltage (in volts) +Vpkplus = V -2.0 //maximum positive peak voltage (in volts) +Vpkneg = -V + 2.0 //maximum negative peagk voltage (in volts) + +//Result + +printf("\n The maximum possible output value could be between %0.3f V and %0.3f V.",Vpkplus,Vpkneg) diff --git a/3754/CH35/EX35.7/35_7.sce b/3754/CH35/EX35.7/35_7.sce new file mode 100644 index 000000000..ff76a153a --- /dev/null +++ b/3754/CH35/EX35.7/35_7.sce @@ -0,0 +1,18 @@ +clear// + +//Variables + +R1 = 1.0 * 10**3 //Resistance (in volts) +R2 = 10.0 * 10**3 //Resistance (in volts) +vinmin = 0.1 //Input voltage minimum (in volts) +vinmax = 0.4 //Input voltage maximum (in volts) + +//Calculation + +ACL = R2 / R1 //Closed loop voltage gain +Voutmin = ACL * vinmin //Minimum output voltage (in volts) +Voutmax = ACL * vinmax //Maximum output voltage (in volts) + +//Result + +printf("\n The value of output voltage increases from %0.3f V to %0.3f V.",Voutmin,Voutmax) diff --git a/3754/CH35/EX35.8/35_8.sce b/3754/CH35/EX35.8/35_8.sce new file mode 100644 index 000000000..0ff774cad --- /dev/null +++ b/3754/CH35/EX35.8/35_8.sce @@ -0,0 +1,16 @@ +clear// + +//Variables + +R1 = 1.0 * 10**3 //Resistance (in ohm) +R2 = 2.0 * 10**3 //Resistance (in ohm) +V1 = 1.0 //Voltage (in volts) + +//Calculation + +ACL = R2 / R1 //Closed loop voltage gain +vo = ACL * V1 //Output voltage (in volts) + +//Result + +printf("\n Output voltage of the inverting amplifier is %0.3f V.",vo) diff --git a/3754/CH35/EX35.9/35_9.sce b/3754/CH35/EX35.9/35_9.sce new file mode 100644 index 000000000..2e371a5ae --- /dev/null +++ b/3754/CH35/EX35.9/35_9.sce @@ -0,0 +1,21 @@ +clear// + +//Variables + +R2 = 100.0 * 10**3 //Resistance (in ohm) +R1 = 10.0 * 10**3 //Resistance (in ohm) +ACM = 0.001 //Common-mode gain +Slew_rate = 0.5 * 10**6 //Slew rate (in volt per second) +Vpk = 5.0 //Peak voltage (in volts) + +//Calculation + +ACL = R2 / R1 //Closed loop voltage gain +Zin = R1 //Input impedance of the circuit (in ohm) +Zout = 80.0 //Output impedance of the circuit (in ohm) +CMRR = ACL / ACM //Common mode rejection ratio +fmax = Slew_rate / (2*%pi*Vpk) //Maximum frequency (in Hertz) + +//Result + +printf("\n Closed-loop gain is %0.3f .\nInput impedance is %0.3f kilo-ohm.\nOutput impedance is %0.3f ohm.\nCommon-mode rejection ratio is %0.3f .\nMaximum operating frequency is %0.1f kHz.",ACL,Zin*10**-3,Zout,CMRR,fmax*10**-3) -- cgit