summaryrefslogtreecommitdiff
path: root/506/CH15/EX15.1.a
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /506/CH15/EX15.1.a
downloadScilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.gz
Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.bz2
Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.zip
initial commit / add all books
Diffstat (limited to '506/CH15/EX15.1.a')
-rwxr-xr-x506/CH15/EX15.1.a/Example15_1a.sce31
1 files changed, 31 insertions, 0 deletions
diff --git a/506/CH15/EX15.1.a/Example15_1a.sce b/506/CH15/EX15.1.a/Example15_1a.sce
new file mode 100755
index 000000000..6f191a117
--- /dev/null
+++ b/506/CH15/EX15.1.a/Example15_1a.sce
@@ -0,0 +1,31 @@
+clear;
+clc;
+
+//Caption:difference in output voltage for two set of output signals
+//Given Data
+//First Set of Input Signal
+v11=50;//in microV
+v21=-50;//in microV
+//Second Set of Input Signal
+v12=1050;//in microV
+v22=950;//in microV
+p=100;//Common Mode Rejection Ratio
+
+//Required Formulae
+//vo = Ad*vd*(1+vc/p*vd) .... p = commom mode rejection ratio
+//Ad will be same for both case, So let us write Vo = vo/Ad = Ad*(1+vc/p*vd)
+
+//First Set of Values
+vd1=v11-v21;//in microV
+vc1=(v11+v21)/2;//in microV
+Vo1 = vd1*(1+vc1/(p*vd1));
+
+//Second Set of Values
+vd2=v12-v22;//in microV
+vc2=(v12+v22)/2;//in microV
+Vo2 = vd2*(1+vc2/(p*vd2));
+
+disp(100*(Vo2-Vo1)/Vo1,'Percentage difference in output signal=');
+
+
+//end \ No newline at end of file