diff options
Diffstat (limited to '199/CH2/EX2.2.b')
-rwxr-xr-x | 199/CH2/EX2.2.b/Example_2_2_b.sce | 10 | ||||
-rwxr-xr-x | 199/CH2/EX2.2.b/result_ex_2_2_b.txt | 1 |
2 files changed, 11 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 diff --git a/199/CH2/EX2.2.b/result_ex_2_2_b.txt b/199/CH2/EX2.2.b/result_ex_2_2_b.txt new file mode 100755 index 000000000..dec1c3666 --- /dev/null +++ b/199/CH2/EX2.2.b/result_ex_2_2_b.txt @@ -0,0 +1 @@ +* Output voltage is vo = 10 V
\ No newline at end of file |