summaryrefslogtreecommitdiff
path: root/2498/CH6/EX6.m.4
diff options
context:
space:
mode:
Diffstat (limited to '2498/CH6/EX6.m.4')
-rwxr-xr-x2498/CH6/EX6.m.4/ex_m_6_4.sce16
1 files changed, 16 insertions, 0 deletions
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.");