summaryrefslogtreecommitdiff
path: root/226/CH19/EX19.4/example4_sce.sce
diff options
context:
space:
mode:
Diffstat (limited to '226/CH19/EX19.4/example4_sce.sce')
-rwxr-xr-x226/CH19/EX19.4/example4_sce.sce18
1 files changed, 18 insertions, 0 deletions
diff --git a/226/CH19/EX19.4/example4_sce.sce b/226/CH19/EX19.4/example4_sce.sce
new file mode 100755
index 000000000..517a6f350
--- /dev/null
+++ b/226/CH19/EX19.4/example4_sce.sce
@@ -0,0 +1,18 @@
+//chapter 19
+//example 19.4
+//page 821
+printf("\n")
+printf("given")
+N1=60;N2=10;Rl=16;Rpy=0;R6=56;Vcc=27;Vce=.5;n=.79;
+disp(" Referred laod")
+rl=(N1/N2)^2 *Rl
+disp(" tatol ac load line in series with each of Q2 and Q3")
+Rl=rl+R6+Rpy
+disp(" peak primary current")
+Ip=(Vcc-Vce)/Rl
+disp("peak primary voltage")
+Vp=Vcc-Vce-(Ip*R6)
+disp("power delivered to primary")
+Po=.5*Vp*Ip
+disp(" power delivered to the load")
+Po=Po*n//n is power efficiency