summaryrefslogtreecommitdiff
path: root/3754/CH35/EX35.6/35_6.sce
diff options
context:
space:
mode:
Diffstat (limited to '3754/CH35/EX35.6/35_6.sce')
-rw-r--r--3754/CH35/EX35.6/35_6.sce17
1 files changed, 17 insertions, 0 deletions
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)