diff options
Diffstat (limited to '3754/CH35/EX35.8/35_8.sce')
-rw-r--r-- | 3754/CH35/EX35.8/35_8.sce | 16 |
1 files changed, 16 insertions, 0 deletions
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)
|