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 /2300/CH14/EX14.12.9/Ex14_9.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 '2300/CH14/EX14.12.9/Ex14_9.sce')
-rwxr-xr-x | 2300/CH14/EX14.12.9/Ex14_9.sce | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/2300/CH14/EX14.12.9/Ex14_9.sce b/2300/CH14/EX14.12.9/Ex14_9.sce new file mode 100755 index 000000000..9aa357e6a --- /dev/null +++ b/2300/CH14/EX14.12.9/Ex14_9.sce @@ -0,0 +1,25 @@ +//scilab 5.4.1
+//Windows 7 operating system
+//chapter 14 Integrated Circuits and Operational Amplifiers
+clc
+clear
+R1=10*1000//R1=resistance in ohms
+R2=100//R2=resistance in ohms
+R3=10*1000//R3=resistance in ohms
+R4=10*1000//R4=resistance in ohms
+R5=10*1000//R5=resistance in ohms
+//Since the voltage gains of the OP AMPs are infinite,the voltages of the points X and Y in the given figure are V1 and V2 respectively
+//Applying Kirchhoff's current law at X
+//(V1/R1)+((V1-V)/R3)+((V1-V2)/R2)=0
+//Applying Kirchhoff's current law at Y
+//((V2-V)/R4)+((V2-V1)/R2)+((V2-Vo)/R5)=0
+//Eliminating V from the above equations
+//V2*((1/R2)+(1/R4)+(1/R5)+(R3/(R2*R4)))-V1*((1/R2)+(1/R4)+((R3/R4)*((1/R1)+(1/R2))))=Vo/R5
+//V2*R-V1*r=Vo/R5...................(1)
+R=((1/R2)+(1/R4)+(1/R5)+(R3/(R2*R4)))
+r=((1/R2)+(1/R4)+((R3/R4)*((1/R1)+(1/R2))))
+disp(R,"R=")
+disp(r,"r=")
+//R=r from above calculation and its answer displayed
+//Hence from the above equation (1) A=Vo/(V1-V2)=-(R5*R)=-(R5*r)
+disp(-R5*r,"Differential mode gain A=Vo/(V1-V2)=")
|