summaryrefslogtreecommitdiff
path: root/275/CH6/EX6.6.19/Ch6_6_19.sce
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /275/CH6/EX6.6.19/Ch6_6_19.sce
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 '275/CH6/EX6.6.19/Ch6_6_19.sce')
-rwxr-xr-x275/CH6/EX6.6.19/Ch6_6_19.sce17
1 files changed, 17 insertions, 0 deletions
diff --git a/275/CH6/EX6.6.19/Ch6_6_19.sce b/275/CH6/EX6.6.19/Ch6_6_19.sce
new file mode 100755
index 000000000..99b7198af
--- /dev/null
+++ b/275/CH6/EX6.6.19/Ch6_6_19.sce
@@ -0,0 +1,17 @@
+clc
+disp("Example 6.19")
+printf("\n")
+disp("calculate common mode gain & output voltage")
+printf("Given")
+disp("differential gain=500")
+disp("CMRR=80dB,Input signal is 2*sin100*%pi*t")
+Ad=500
+CMRR=80
+t=1/200
+Vc=2*sin(100*%pi*t)
+//calculate common mode gain
+Ac=Ad/(10^(CMRR/20))
+//calculate common mode output voltage
+Vcmov=Ac*Vc
+printf("Common mode gain =%f\n",Ac)
+printf("Common mode output voltage =%f volt\n",Vcmov)