summaryrefslogtreecommitdiff
path: root/3515/CH1/EX1.7/Ex_1_7.sce
diff options
context:
space:
mode:
Diffstat (limited to '3515/CH1/EX1.7/Ex_1_7.sce')
-rw-r--r--3515/CH1/EX1.7/Ex_1_7.sce21
1 files changed, 21 insertions, 0 deletions
diff --git a/3515/CH1/EX1.7/Ex_1_7.sce b/3515/CH1/EX1.7/Ex_1_7.sce
new file mode 100644
index 000000000..36bf0cb8b
--- /dev/null
+++ b/3515/CH1/EX1.7/Ex_1_7.sce
@@ -0,0 +1,21 @@
+// Exa 1.7
+format('v',7);
+clc;
+clear;
+close;
+// Given data
+V1= 745;// in µV
+V2= 740;// in µV
+V1=V1*10^-6;// in volt
+V2=V2*10^-6;// in volt
+CMRR=80;// in dB
+Av=5*10^5;
+// (i)
+// CMRR in dB= 20*log(Ad/Ac)
+Ad=Av;
+Ac= Ad/10^(CMRR/20);
+// (ii)
+Vo= Ad*(V1-V2)+Ac*(V1+V2)/2;
+disp(Vo,"Output voltage in volt is : ")
+
+// Note:- In the book, there is calculation error to evaluate the value of Ac, so the value of Ac is wrong ans to evaluate the output voltage there is also calculation error