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 --- 275/CH6/EX6.6.37/Ch6_6_37.sce | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100755 275/CH6/EX6.6.37/Ch6_6_37.sce (limited to '275/CH6/EX6.6.37/Ch6_6_37.sce') diff --git a/275/CH6/EX6.6.37/Ch6_6_37.sce b/275/CH6/EX6.6.37/Ch6_6_37.sce new file mode 100755 index 000000000..9c1117014 --- /dev/null +++ b/275/CH6/EX6.6.37/Ch6_6_37.sce @@ -0,0 +1,16 @@ +clc +disp("example 6.37") +printf("\n") +disp("calculate voltage gain,input resistance,current through R1") +printf("Given") +disp("Rf=100k,R1=10k") +disp("input voltage is 0.5v") +Rf=10^5 +R1=10^4 +Af=-Rf/R1 +Rif=R1 +Vi=0.5 +I1=(Vi/R1) +printf("closed loop voltage gain is %3.1f\n",Af) +printf("input resistance is\n %3.1f ohm\n",Rif) +printf("current flowing through R1 is %f ampere\n",I1) -- cgit