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 --- 2498/CH6/EX6.m.4/ex_m_6_4.sce | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100755 2498/CH6/EX6.m.4/ex_m_6_4.sce (limited to '2498/CH6/EX6.m.4') diff --git a/2498/CH6/EX6.m.4/ex_m_6_4.sce b/2498/CH6/EX6.m.4/ex_m_6_4.sce new file mode 100755 index 000000000..54dfe9951 --- /dev/null +++ b/2498/CH6/EX6.m.4/ex_m_6_4.sce @@ -0,0 +1,16 @@ +// Exa Misc. 6.4 +clc; +clear; +close; +format('v',6) +// Given data +R_F = 500;// in k ohm +R_desh = 20;// in k ohm +Vin = 0.5;// in V +Rd_desh = 0; +R1min = 20;// in k ohm +R1max = 50;// in k ohm +// Ao = Vo/Vin = (1+(R_F/R1)); +Vo_max = Vin*(1+(R_F/R1min));// output voltage corresponding to R1min +Vo_min = Vin*(1+(R_F/R1max));// output voltage corresponding to R1max +disp("Range of output voltage is : "+string(Vo_min)+" volts to "+string(Vo_max)+" volts."); -- cgit