diff options
Diffstat (limited to '226/CH14/EX14.11/example11_sce.sce')
-rwxr-xr-x | 226/CH14/EX14.11/example11_sce.sce | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/226/CH14/EX14.11/example11_sce.sce b/226/CH14/EX14.11/example11_sce.sce new file mode 100755 index 000000000..6a7d6aef4 --- /dev/null +++ b/226/CH14/EX14.11/example11_sce.sce @@ -0,0 +1,25 @@ +//chapter 14
+//example 14.11
+//page 619
+printf("\n")
+printf("given")
+Vi=10*10^-3;Vn=1;R1=33*10^3;R2=300;R5=15*10^3;R4=15*10^3;Vi2=-10*10^-3;R3=R1;R6=15*10^3;R7=R6;
+Acl=((2*R1+R2)/R2)*(R5/R4)
+disp("at junction of R1 and R2")
+Vb=Vi+Vn
+disp("at junction of R2 and R3")
+Vc=Vi2+Vn
+disp(" current through R2")
+I2=(Vb-Vc)/R2
+disp("at the output of A1")
+Va=Vb+(I2*R1)
+disp("at output of A2")
+Vd=Vc-(I2*R3)
+disp("at junction of R6 and R7")
+Vf=Vd*(R7/(R6+R7))
+disp("at junction of R4 and R5")
+Ve=Vf
+disp("current through R4")
+I4=(Va-Ve)/R4
+disp("at output of A3")
+Vg=Ve-(I4*R5)
\ No newline at end of file |