diff options
author | priyanka | 2015-06-24 15:03:17 +0530 |
---|---|---|
committer | priyanka | 2015-06-24 15:03:17 +0530 |
commit | b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch) | |
tree | ab291cffc65280e58ac82470ba63fbcca7805165 /1850/CH3/EX3.18/exa_3_18.sce | |
download | Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.gz Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.bz2 Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.zip |
initial commit / add all books
Diffstat (limited to '1850/CH3/EX3.18/exa_3_18.sce')
-rwxr-xr-x | 1850/CH3/EX3.18/exa_3_18.sce | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/1850/CH3/EX3.18/exa_3_18.sce b/1850/CH3/EX3.18/exa_3_18.sce new file mode 100755 index 000000000..bd20ae97c --- /dev/null +++ b/1850/CH3/EX3.18/exa_3_18.sce @@ -0,0 +1,17 @@ +// Exa 3.18
+clc;
+clear;
+close;
+// Given data
+R_f=10;// in k ohm
+R1=1;// in k ohm
+V_d= 5;// in mV
+v_cm= 2;// in mV
+A_d= -R_f/R1;
+Vout= A_d*V_d;// in mV
+disp(abs(Vout),"Output voltage in mV : ")
+CMRR_dB= 90;// in dB
+CMRR= 10^(CMRR_dB/20);
+A_cm= abs(A_d)/CMRR
+Mag= A_cm*v_cm;// magnitude of the induced 60 Hz noise at the output in mV
+disp(Mag*10^3," magnitude of the induced 60 Hz noise at the output in micro volt :")
|