From b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b Mon Sep 17 00:00:00 2001 From: priyanka Date: Wed, 24 Jun 2015 15:03:17 +0530 Subject: initial commit / add all books --- 199/CH3/EX3.6.b/Example_3_6_b.sce | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100755 199/CH3/EX3.6.b/Example_3_6_b.sce (limited to '199/CH3/EX3.6.b/Example_3_6_b.sce') diff --git a/199/CH3/EX3.6.b/Example_3_6_b.sce b/199/CH3/EX3.6.b/Example_3_6_b.sce new file mode 100755 index 000000000..be543ddae --- /dev/null +++ b/199/CH3/EX3.6.b/Example_3_6_b.sce @@ -0,0 +1,12 @@ +// Chapter3 +// Page.No-99, Figure.No-3.16 +// Example_3_6_b +// Output voltage of the Op-amp +// Given +clear;clc; +R1=680;RF=6800 // Both are in ohms +vx=-1.5;vy=-2; // Both input voltages are in volts +AD=1+RF/R1; // Voltage gain +vxy=vx-vy; +vo=AD*vxy; // Output voltage +printf("\n Output voltage is vo = %.1f V \n",vo) // Result \ No newline at end of file -- cgit