summaryrefslogtreecommitdiff
path: root/Working_Examples/154/DEPENDENCIES/ch6_8.sce
diff options
context:
space:
mode:
Diffstat (limited to 'Working_Examples/154/DEPENDENCIES/ch6_8.sce')
-rwxr-xr-xWorking_Examples/154/DEPENDENCIES/ch6_8.sce15
1 files changed, 15 insertions, 0 deletions
diff --git a/Working_Examples/154/DEPENDENCIES/ch6_8.sce b/Working_Examples/154/DEPENDENCIES/ch6_8.sce
new file mode 100755
index 0000000..d971edf
--- /dev/null
+++ b/Working_Examples/154/DEPENDENCIES/ch6_8.sce
@@ -0,0 +1,15 @@
+clc
+disp("Example 6.8")
+printf("Given")
+disp("R1= 10kohm R2=50kohm Ri=500kohm R0=0")
+disp("Open loop gain (A)=10^5")
+A=10^5;R1=10*10^3;R2=50*10^3;Ri=500*10^3;
+//From figure 6.11
+//Applying KCL equation at node B
+disp("(v1+vd)/10+ (v2+vd)/50+ vd/500=0 (1)")
+//Since R0=0
+disp("v2=A*vd")
+//Solving for vd
+disp("vd=10^-5*v2 (2)")
+//Substituting (2) in (1) we get
+printf("v2/v1=%d\n",-5) \ No newline at end of file