summaryrefslogtreecommitdiff
path: root/1757/CH6/EX6.35/EX6_35.sce
diff options
context:
space:
mode:
Diffstat (limited to '1757/CH6/EX6.35/EX6_35.sce')
-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');