summaryrefslogtreecommitdiff
path: root/1757/CH6/EX6.35
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /1757/CH6/EX6.35
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 '1757/CH6/EX6.35')
-rwxr-xr-x1757/CH6/EX6.35/EX6_35.sce19
1 files changed, 19 insertions, 0 deletions
diff --git a/1757/CH6/EX6.35/EX6_35.sce b/1757/CH6/EX6.35/EX6_35.sce
new file mode 100755
index 000000000..2edb5f81b
--- /dev/null
+++ b/1757/CH6/EX6.35/EX6_35.sce
@@ -0,0 +1,19 @@
+//Example6_35 // Design a difference amplifier
+clc;
+clear;
+close;
+Ri = 50*10^3 ;
+Ad = 30
+
+R1 = Ri/2 ;
+disp('The value of resistance R1 is = '+string(R1)+ ' ohm');
+R3 = R1 ;
+disp('The value of resistance R3 is = '+string(R3)+ ' ohm');
+
+// the differential gain
+//Ad = R2/R1 ;
+R2 = 30*R1 ;
+disp('The value of resistance R2 is = '+string(R2)+ ' ohm');
+
+R4 = R2 ;
+disp('The value of resistance R4 is = '+string(R4)+ ' ohm');