diff options
Diffstat (limited to '199/CH2/EX2.2.b/Example_2_2_b.sce')
-rwxr-xr-x | 199/CH2/EX2.2.b/Example_2_2_b.sce | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/199/CH2/EX2.2.b/Example_2_2_b.sce b/199/CH2/EX2.2.b/Example_2_2_b.sce new file mode 100755 index 000000000..e4381697c --- /dev/null +++ b/199/CH2/EX2.2.b/Example_2_2_b.sce @@ -0,0 +1,10 @@ +//Chapter2
+//Page.No-46, Figure.No-2.10
+//Example_2_2_b
+//Output voltage for inverting amplifier
+//Given:
+clear;clc;
+vin=-50*10^-6; // Input voltage in volts
+A=200000; // Voltage gain
+vo=-(A*vin); // Output voltage in volts
+printf("\n Output voltage is vo = %.f V \n",vo) // Result
\ No newline at end of file |