summaryrefslogtreecommitdiff
path: root/2702/CH1
diff options
context:
space:
mode:
Diffstat (limited to '2702/CH1')
-rw-r--r--2702/CH1/EX1.1/Ex_1_1.sce11
-rw-r--r--2702/CH1/EX1.10/Ex_1_10.sce17
-rw-r--r--2702/CH1/EX1.11/Ex_1_11.sce18
-rw-r--r--2702/CH1/EX1.12/Ex_1_12.sce15
-rw-r--r--2702/CH1/EX1.13/Ex_1_13.sce18
-rw-r--r--2702/CH1/EX1.14/Ex_1_14.sce24
-rw-r--r--2702/CH1/EX1.15/Ex_1_15.sce17
-rw-r--r--2702/CH1/EX1.16/Ex_1_16.sce15
-rw-r--r--2702/CH1/EX1.17/Ex_1_17.sce13
-rw-r--r--2702/CH1/EX1.18/Ex_1_18.sce16
-rw-r--r--2702/CH1/EX1.19/Ex_1_19.sce14
-rw-r--r--2702/CH1/EX1.2/Ex_1_2.sce12
-rw-r--r--2702/CH1/EX1.20/Ex_1_20.sce11
-rw-r--r--2702/CH1/EX1.22/Ex_1_22.sce18
-rw-r--r--2702/CH1/EX1.24/Ex_1_24.sce23
-rw-r--r--2702/CH1/EX1.25/Ex_1_25.sce26
-rw-r--r--2702/CH1/EX1.26/Ex_1_26.sce33
-rw-r--r--2702/CH1/EX1.27/Ex_1_27.sce18
-rw-r--r--2702/CH1/EX1.28/Ex_1_28.sce19
-rw-r--r--2702/CH1/EX1.3/Ex_1_3.sce13
-rw-r--r--2702/CH1/EX1.4/Ex_1_4.sce10
-rw-r--r--2702/CH1/EX1.5/Ex_1_5.sce33
-rw-r--r--2702/CH1/EX1.6/Ex_1_6.sce17
-rw-r--r--2702/CH1/EX1.7/Ex_1_7.sce20
-rw-r--r--2702/CH1/EX1.8/Ex_1_8.sce10
25 files changed, 441 insertions, 0 deletions
diff --git a/2702/CH1/EX1.1/Ex_1_1.sce b/2702/CH1/EX1.1/Ex_1_1.sce
new file mode 100644
index 000000000..867788ded
--- /dev/null
+++ b/2702/CH1/EX1.1/Ex_1_1.sce
@@ -0,0 +1,11 @@
+// Exa 1.1
+clc;
+clear;
+close;
+// Given data
+G= -100;
+R1= 2.2;// in kohm
+R1=R1*10^3;// in ohm
+// Formula G=-Rf/R1
+Rf= -G*R1;
+disp(Rf*10^-3,"The value of Rf in kohm is ")
diff --git a/2702/CH1/EX1.10/Ex_1_10.sce b/2702/CH1/EX1.10/Ex_1_10.sce
new file mode 100644
index 000000000..9eb5f041a
--- /dev/null
+++ b/2702/CH1/EX1.10/Ex_1_10.sce
@@ -0,0 +1,17 @@
+// Exa 1.10
+clc;
+clear;
+close;
+// Given data
+V1=2;// in V
+V2=3;// in V
+Rf=3;// in kohm
+R1=1;// in kohm
+disp("Output voltage when only 2V voltage source is acting in volt")
+Vo1= (1+Rf/R1)*V1;
+disp(Vo1);
+disp("Output voltage due to 3V voltage source in volt")
+Vo2= (1+Rf/R1)*V2;
+disp(Vo2);
+Vo= Vo1+Vo2;// in volts
+disp(Vo,"Total output voltage in volts")
diff --git a/2702/CH1/EX1.11/Ex_1_11.sce b/2702/CH1/EX1.11/Ex_1_11.sce
new file mode 100644
index 000000000..74e1e1f7f
--- /dev/null
+++ b/2702/CH1/EX1.11/Ex_1_11.sce
@@ -0,0 +1,18 @@
+// Exa 1.11
+clc;
+clear;
+close;
+// Given data
+Rf=500;// in kohm
+min_vvs= 0;// minimum value of variable resistor in ohm
+max_vvs= 10;// maximum value of variable resistor in ohm
+Ri_min= 10+min_vvs;// in kohm
+Ri_max= 10+max_vvs;//in kohm
+// Av= Vo/Vi= -Rf/Ri
+disp("Closed loop voltage gain corresponding to Ri(min) is ")
+Av=-Rf/Ri_min;
+disp(Av)
+disp("and closed loop voltage gain corresponding to Ri(max) is ")
+Av=-Rf/Ri_max;
+disp(Av)
+disp("Thus the closed loop gain of the circuit can be adjusted at any value between -25 to -50 with the help of variable resistor.")
diff --git a/2702/CH1/EX1.12/Ex_1_12.sce b/2702/CH1/EX1.12/Ex_1_12.sce
new file mode 100644
index 000000000..83a4b0491
--- /dev/null
+++ b/2702/CH1/EX1.12/Ex_1_12.sce
@@ -0,0 +1,15 @@
+// Exa 1.12
+clc;
+clear;
+close;
+// Given data
+Rf=200;// in kohm
+R1= 20;// in kohm
+// Av= Vo/Vi= -Rf/Ri
+Av= -Rf/R1;
+Vi_min= 0.1;// in V
+Vi_max= 0.5;// in V
+// Vo= Av*Vi
+Vo_min= Av*Vi_min;// in V
+Vo_max= Av*Vi_max;// in V
+disp("Output voltage ranges from "+string(Vo_min)+"V to "+string(Vo_max)+"V")
diff --git a/2702/CH1/EX1.13/Ex_1_13.sce b/2702/CH1/EX1.13/Ex_1_13.sce
new file mode 100644
index 000000000..05990a6a5
--- /dev/null
+++ b/2702/CH1/EX1.13/Ex_1_13.sce
@@ -0,0 +1,18 @@
+// Exa 1.13
+clc;
+clear;
+close;
+// Given data
+Rf= 250;// in kohm
+// Output voltage expression, Vo= -5*Va+3*Vb
+// and we know that for a difference amplifier circuit,
+// Vo= -Rf/R1*Va + [R2/(R1+R2)]*[1+Rf/R1]*Vb
+// Comparing both the expression, we get
+// -Rf/R1*Va= -5*Va, or
+R1= Rf/5;// in kohm
+disp(R1,"The value of R1 in kohm")
+// and
+R2= 3*R1^2/(R1+Rf-3*R1)
+disp(R2,"The value of R2 in kohm")
+
+// Note : Answer in the book is wrong
diff --git a/2702/CH1/EX1.14/Ex_1_14.sce b/2702/CH1/EX1.14/Ex_1_14.sce
new file mode 100644
index 000000000..8f62b9af1
--- /dev/null
+++ b/2702/CH1/EX1.14/Ex_1_14.sce
@@ -0,0 +1,24 @@
+// Exa 1.14
+clc;
+clear;
+close;
+// Given data
+Vi_1= 150;// in µV
+Vi_2= 140;// in µV
+Vd= Vi_1-Vi_2;// in µV
+Vd=Vd*10^-6;// in V
+Vc= (Vi_1+Vi_2)/2;// in µV
+Vc=Vc*10^-6;// in V
+// Vo= Ad*Vd*(1+Vc/(CMRR*Vd))
+
+// (i) For Ad=4000 and CMRR= 100
+Ad=4000;
+CMRR= 100;
+Vo= Ad*Vd*(1+Vc/(CMRR*Vd));// in volt
+disp(Vo*10^3,"Output voltage in mV")
+
+// (ii) For Ad=4000 and CMRR= 10^5
+Ad=4000;
+CMRR= 10^5;
+Vo= Ad*Vd*(1+Vc/(CMRR*Vd));// in volt
+disp(Vo*10^3,"Output voltage in mV")
diff --git a/2702/CH1/EX1.15/Ex_1_15.sce b/2702/CH1/EX1.15/Ex_1_15.sce
new file mode 100644
index 000000000..93c2d58fc
--- /dev/null
+++ b/2702/CH1/EX1.15/Ex_1_15.sce
@@ -0,0 +1,17 @@
+// Exa 1.15
+clc;
+clear;
+close;
+// Given data
+Rf=470;// in kohm
+R1=4.3;// in kohm
+R2=33;// in kohm
+R3=33;// in kohm
+Vi= 80;// in µV
+Vi=Vi*10^-6;// in volt
+A1= 1+Rf/R1;
+A2=-Rf/R2;
+A3= -Rf/R3;
+A=A1*A2*A3;
+Vo= A*Vi;// in volt
+disp(Vo,"Output voltage in volts is : ")
diff --git a/2702/CH1/EX1.16/Ex_1_16.sce b/2702/CH1/EX1.16/Ex_1_16.sce
new file mode 100644
index 000000000..3681bca6f
--- /dev/null
+++ b/2702/CH1/EX1.16/Ex_1_16.sce
@@ -0,0 +1,15 @@
+// Exa 1.16
+clc;
+clear;
+close;
+// Given data
+R1= 33;// in kΩ
+R2= 10;// in kΩ
+R3= 330;// in kΩ
+V1= '50mV sin(1000 t)';
+V2= '10mV sin(3000 t)';
+Vo1= R3/R1*50*10^-3;
+Vo2= R3/R2*10*10^-3;
+// Vo= -Vo1-Vo2;
+disp("Output voltage is "+string(-Vo1)+" sin (1000 t)"+string(-Vo2)+" sin(3000 t)")
+
diff --git a/2702/CH1/EX1.17/Ex_1_17.sce b/2702/CH1/EX1.17/Ex_1_17.sce
new file mode 100644
index 000000000..2981c2cc6
--- /dev/null
+++ b/2702/CH1/EX1.17/Ex_1_17.sce
@@ -0,0 +1,13 @@
+// Exa 1.17
+clc;
+clear;
+close;
+// Given data
+R1=10;// in kohm
+R2=150;// in kohm
+R3=10;// in kohm
+R4=300;// in kohm
+V1= 1;// in V
+V2= 2;// in V
+Vo= [(1+R4/R2)*(R3*V1/(R1+R3))-(R4/R2)*V2];
+disp(Vo,"Output voltage in volts is : ")
diff --git a/2702/CH1/EX1.18/Ex_1_18.sce b/2702/CH1/EX1.18/Ex_1_18.sce
new file mode 100644
index 000000000..6a6406af8
--- /dev/null
+++ b/2702/CH1/EX1.18/Ex_1_18.sce
@@ -0,0 +1,16 @@
+// Exa 1.18
+clc;
+clear;
+close;
+// Given data
+R1=12;// in kohm
+Rf=360;// in kohm
+V1= -0.3;// in V
+Vo= (1+Rf/R1)*V1;// in V
+disp(Vo,"Output voltage result in volts is : ")
+
+// Part(b)
+Vo= 2.4;// in V
+// We know, Vo= (1+Rf/R1)*V1
+V1= Vo/(1+Rf/R1);
+disp(V1*10^3,"Input voltage in mV to result in an output of 2.4 Volt is")
diff --git a/2702/CH1/EX1.19/Ex_1_19.sce b/2702/CH1/EX1.19/Ex_1_19.sce
new file mode 100644
index 000000000..e308917cd
--- /dev/null
+++ b/2702/CH1/EX1.19/Ex_1_19.sce
@@ -0,0 +1,14 @@
+// Exa 1.19
+clc;
+clear;
+close;
+// Given data
+Rf=68;// in kohm
+R1=33;// in kohm
+R2=22;// in kohm
+R3=12;// in kohm
+V1= 0.2;// in V
+V2=-0.5;// in V
+V3= 0.8;// in V
+Vo= -Rf/R1*V1 + (-Rf/R2)*V2 + (-Rf/R3)*V3;// in volts
+disp(Vo,"Output voltage in volts is : ")
diff --git a/2702/CH1/EX1.2/Ex_1_2.sce b/2702/CH1/EX1.2/Ex_1_2.sce
new file mode 100644
index 000000000..20a9dc02f
--- /dev/null
+++ b/2702/CH1/EX1.2/Ex_1_2.sce
@@ -0,0 +1,12 @@
+// Exa 1.2
+clc;
+clear;
+close;
+// Given data
+Rf= 200;// in kohm
+R1= 2;// in kohm
+vin=2.5;// in mV
+vin=vin*10^-3;// in volt
+G= -Rf/R1;
+vo= G*vin;// in V
+disp(vo,"The output voltage in volt is : ")
diff --git a/2702/CH1/EX1.20/Ex_1_20.sce b/2702/CH1/EX1.20/Ex_1_20.sce
new file mode 100644
index 000000000..f0787df9d
--- /dev/null
+++ b/2702/CH1/EX1.20/Ex_1_20.sce
@@ -0,0 +1,11 @@
+// Exa 1.20
+clc;
+clear;
+close;
+// Given data
+Rf=100;// in kohm
+R1=20;// in kohm
+V1= 1.5;// in V
+Vo1= V1;
+Vo= -Rf/R1*Vo1;// in volts
+disp(Vo,"Output voltage in volts is : ")
diff --git a/2702/CH1/EX1.22/Ex_1_22.sce b/2702/CH1/EX1.22/Ex_1_22.sce
new file mode 100644
index 000000000..ec07d04bf
--- /dev/null
+++ b/2702/CH1/EX1.22/Ex_1_22.sce
@@ -0,0 +1,18 @@
+// Exa 1.22
+clc;
+clear;
+close;
+// Given data
+vo= -10;// in V
+i_f= 1;// in mA
+i_f= i_f*10^-3;//in A
+// Formula vo= -i_f*Rf
+Rf= -vo/i_f;// in Ω
+// The output voltage, vo= -(v1+5*v2) (i)
+// vo= -Rf/R1*v1 - Rf/R2*v2; (ii)
+// Comparing equations (i) and (2)
+R1= Rf/1;// in Ω
+R2= Rf/5;// in Ω
+disp(Rf*10^-3,"The value of Rf in kΩ is : ")
+disp(R1*10^-3,"The value of R1 in kΩ is : ")
+disp(R2*10^-3,"The value of R2 in kΩ is : ")
diff --git a/2702/CH1/EX1.24/Ex_1_24.sce b/2702/CH1/EX1.24/Ex_1_24.sce
new file mode 100644
index 000000000..a93cc4f47
--- /dev/null
+++ b/2702/CH1/EX1.24/Ex_1_24.sce
@@ -0,0 +1,23 @@
+// Exa 1.24
+clc;
+clear;
+close;
+// Given data
+R1= 9;// in kΩ
+R2= 1;// in kΩ
+R3= 2;// in kΩ
+R4= 3;// in kΩ
+// The output voltage, vo1= (1+R1/R2)*va
+vo1BYva= (1+R1/R2);// (i)
+// Voltage at node va= R4*v1/(R3+R4)
+vaBYv1= R4/(R3+R4);// (ii)
+// From (i) and (ii)
+vo1BYv1= vo1BYva*vaBYv1;// (iii)
+// The output voltage, vo2= (1+R1/R2)*va
+vo2BYva= (1+R1/R2);// (iv)
+// Voltage at node va= R3*v2/(R3+R4)
+vaBYv2= R3/(R3+R4);// (v)
+// From (i) and (ii)
+vo2BYv2= vo2BYva*vaBYv2;// (iii)
+// Total output vo= vo1 + vo2
+disp("Total voltage is "+string(vo1BYv1)+" v1 + "+string(vo2BYv2)+" v2")
diff --git a/2702/CH1/EX1.25/Ex_1_25.sce b/2702/CH1/EX1.25/Ex_1_25.sce
new file mode 100644
index 000000000..a8cb78f39
--- /dev/null
+++ b/2702/CH1/EX1.25/Ex_1_25.sce
@@ -0,0 +1,26 @@
+// Exa 1.25
+clc;
+clear;
+close;
+// Given data
+R1= 9;// in kΩ
+R2= 1;// in kΩ
+R3= 2;// in kΩ
+R4= 3;// in kΩ
+// The output voltage, vo1= (1+R1/R2)*va
+vo1BYva= (1+R1/R2);// (i)
+// Voltage at node va= R4*v1/(R3+R4)
+vaBYv1= R4/(R3+R4);// (ii)
+// From (i) and (ii)
+vo1BYv1= vo1BYva*vaBYv1;// (iii)
+// The output voltage, vo2= (1+R1/R2)*va
+vo2BYva= (1+R1/R2);// (iv)
+// Voltage at node va= R3*v2/(R3+R4)
+vaBYv2= R3/(R3+R4);// (v)
+// From (i) and (ii)
+vo2BYv2= vo2BYva*vaBYv2;// (iii)
+// The output voltage, vo3= (-R1/R2)*v3
+vo3BYv3= (-R1/R2);// (i)
+
+// Total output vo= vo1 + vo2 + vo3
+disp("Total voltage is "+string(vo1BYv1)+" v1 + "+string(vo2BYv2)+" v2 "+string(vo3BYv3)+" v3")
diff --git a/2702/CH1/EX1.26/Ex_1_26.sce b/2702/CH1/EX1.26/Ex_1_26.sce
new file mode 100644
index 000000000..54e97fb60
--- /dev/null
+++ b/2702/CH1/EX1.26/Ex_1_26.sce
@@ -0,0 +1,33 @@
+// Exa 1.26
+clc;
+clear;
+close;
+// Given data
+// omega_t= Ao*omega_b
+// 2*%pi*f_t = Ao*2*%pi*f_b
+// f_t= Ao*f_b
+// Part (i)
+Ao1= 10^5;
+f_b1= 10^2;// in Hz
+f_t1= Ao1*f_b1;// in Hz
+// Part (ii)
+Ao2= 10^6;
+f_t2= 10^6;// in Hz
+f_b2= f_t2/Ao2;// in Hz
+// Part (iii)
+f_b3= 10^3;// in Hz
+f_t3= 10^8;// in Hz
+Ao3= f_t3/f_b3;
+// Part (iv)
+f_b4= 10^-1;// in Hz
+f_t4= 10^6;// in Hz
+Ao4= f_t4/f_b4;
+// Part (v)
+Ao5= 2*10^5;
+f_b5= 10;// in Hz
+f_t5= Ao5*f_b5;// in Hz
+disp(f_t1,"The value of f_t1 in Hz is : ")
+disp(f_b2,"The value of f_b2 in Hz is : ")
+disp(Ao3,"The value of Ao3 is : ")
+disp(Ao4,"The value of Ao4 is : ")
+disp(f_t5,"The value of f_t5 in Hz is : ")
diff --git a/2702/CH1/EX1.27/Ex_1_27.sce b/2702/CH1/EX1.27/Ex_1_27.sce
new file mode 100644
index 000000000..c1bc001d5
--- /dev/null
+++ b/2702/CH1/EX1.27/Ex_1_27.sce
@@ -0,0 +1,18 @@
+// Exa 1.27
+clc;
+clear;
+close;
+// Given data
+Ao= 86;// in dB
+A= 40;// in dB
+f=100;// in kHz
+f=f*10^3;// in Hz
+// From 20*log(S) = 20*log(Ao/A), where S, stands for sqrt(1+(f/fb)^2)
+S= 10^((Ao-A)/20);
+// S= sqrt(1+(f/fb)^2)
+fb= f/sqrt(S^2-1);// in Hz
+Ao= 10^(Ao/20);
+ft= Ao*fb;// in Hz
+disp(Ao,"The value of Ao is : ")
+disp(fb,"The value of fb in Hz is : ")
+disp(round(ft*10^-6),"The value of ft in MHz is : ")
diff --git a/2702/CH1/EX1.28/Ex_1_28.sce b/2702/CH1/EX1.28/Ex_1_28.sce
new file mode 100644
index 000000000..da6d9f573
--- /dev/null
+++ b/2702/CH1/EX1.28/Ex_1_28.sce
@@ -0,0 +1,19 @@
+// Exa 1.28
+clc;
+clear;
+close;
+// Given data
+Ao= 10^4;// in V/V
+f_t= 10^6;// in Hz
+R2byR1= 20;
+omega_t= 2*%pi*f_t;
+omega_3dB= omega_t/(1+R2byR1);
+f3dB= omega_3dB/(2*%pi);// in Hz
+disp(f3dB*10^-3,"3-dB frequency of the closed loop amplifier in kHz is : ")
+f3dB= 0.1*f3dB;// in Hz
+voBYvi= -R2byR1/sqrt(1+(2*%pi*f3dB/omega_3dB)^2);
+voBYvi= abs(voBYvi);// in v/v
+disp(voBYvi,"Gain in v/v is : ")
+
+
+
diff --git a/2702/CH1/EX1.3/Ex_1_3.sce b/2702/CH1/EX1.3/Ex_1_3.sce
new file mode 100644
index 000000000..91fab23b2
--- /dev/null
+++ b/2702/CH1/EX1.3/Ex_1_3.sce
@@ -0,0 +1,13 @@
+// Exa 1.3
+clc;
+clear;
+close;
+// Given data
+G=-10;
+Ri= 100;// in kohm
+R1= Ri;// in kohm
+R1=R1*10^3;// in ohm
+// Formula G=-R2/R1
+R2= R1*abs(G);// ohm
+disp(R1*10^-3,"Value of R1 in kohm is : ")
+disp(R2*10^-6,"and value of R2 in Mohm is : ")
diff --git a/2702/CH1/EX1.4/Ex_1_4.sce b/2702/CH1/EX1.4/Ex_1_4.sce
new file mode 100644
index 000000000..e958f1f35
--- /dev/null
+++ b/2702/CH1/EX1.4/Ex_1_4.sce
@@ -0,0 +1,10 @@
+// Exa 1.4
+clc;
+clear;
+close;
+// Given data
+R1= 100;// in kohm
+R2= 500;// in kohm
+V1= 2;// in volt
+Vo= (1+R2/R1)*V1;// in volt
+disp(Vo,"Output voltage for noninverting amplifier in volt")
diff --git a/2702/CH1/EX1.5/Ex_1_5.sce b/2702/CH1/EX1.5/Ex_1_5.sce
new file mode 100644
index 000000000..76129920f
--- /dev/null
+++ b/2702/CH1/EX1.5/Ex_1_5.sce
@@ -0,0 +1,33 @@
+// Exa 1.5
+clc;
+clear;
+close;
+// Given data
+Rf= 1;// in Mohm
+Rf=Rf*10^6;//in ohm
+
+// Part(a)
+V1=1;//in volt
+V2=2;//in volt
+V3=3;//in volt
+R1= 500;// in kohm
+R1=R1*10^3;//in ohm
+R2= 1;// in Mohm
+R2=R2*10^6;//in ohm
+R3= 1;// in Mohm
+R3=R3*10^6;//in ohm
+Vo= -Rf*(V1/R1+V2/R2+V3/R3);// in volt
+disp(Vo,"(a) Output voltage in volt is : ")
+
+// Part(b)
+V1=-2;//in volt
+V2=3;//in volt
+V3=1;//in volt
+R1= 200;// in kohm
+R1=R1*10^3;//in ohm
+R2= 500;// in kohm
+R2=R2*10^3;//in ohm
+R3= 1;// in Mohm
+R3=R3*10^6;//in ohm
+Vo= -Rf*(V1/R1+V2/R2+V3/R3);// in volt
+disp(Vo,"(b) Output voltage in volt is : ")
diff --git a/2702/CH1/EX1.6/Ex_1_6.sce b/2702/CH1/EX1.6/Ex_1_6.sce
new file mode 100644
index 000000000..d1a16415a
--- /dev/null
+++ b/2702/CH1/EX1.6/Ex_1_6.sce
@@ -0,0 +1,17 @@
+// Exa 1.6
+clc;
+clear;
+close;
+// Given data
+disp("Minimum closed loop voltage gain for R2=0 and R1= 2 kohm")
+R2=0;
+R1=2;// in kohm
+R1=R1*10^3;// in ohm
+Av_min= (1+R2/R1)
+disp(Av_min)
+
+disp("Maximum closed loop voltage gain for maximum value of R2=100 kohm and R1= 2 kohm")
+R2=100;// in kohm
+R1=2;// in kohm
+Av_max= (1+R2/R1)
+disp(Av_max)
diff --git a/2702/CH1/EX1.7/Ex_1_7.sce b/2702/CH1/EX1.7/Ex_1_7.sce
new file mode 100644
index 000000000..ca0f5fbbe
--- /dev/null
+++ b/2702/CH1/EX1.7/Ex_1_7.sce
@@ -0,0 +1,20 @@
+// Exa 1.7
+clc;
+clear;
+close;
+// Given data
+V1= 745;// in µV
+V2= 740;// in µV
+V1=V1*10^-6;// in volt
+V2=V2*10^-6;// in volt
+CMRR=80;// in dB
+Av=5*10^5;
+// (i)
+// CMRR in dB= 20*log(Ad/Ac)
+Ad=Av;
+Ac= Ad/10^(CMRR/20);
+// (ii)
+Vo= Ad*(V1-V2)+Ac*(V1+V2)/2;
+disp(Vo,"Output voltage in volt is : ")
+
+// Note:- In the book, there is calculation error to evaluate the value of Ac, so the value of Ac is wrong ans to evaluate the output voltage there is also calculation error
diff --git a/2702/CH1/EX1.8/Ex_1_8.sce b/2702/CH1/EX1.8/Ex_1_8.sce
new file mode 100644
index 000000000..f77ffbf80
--- /dev/null
+++ b/2702/CH1/EX1.8/Ex_1_8.sce
@@ -0,0 +1,10 @@
+// Exa 1.8
+clc;
+clear;
+close;
+// Given data
+R1= 1;// in Mohm
+Ri=R1;// in Mohm
+Rf=1;// in Mohm
+A_VF= -Rf/R1;
+disp(A_VF,"Voltage gain is : ")