summaryrefslogtreecommitdiff
path: root/226/CH19/EX19.27/example27_sce.sce
diff options
context:
space:
mode:
Diffstat (limited to '226/CH19/EX19.27/example27_sce.sce')
-rwxr-xr-x226/CH19/EX19.27/example27_sce.sce26
1 files changed, 14 insertions, 12 deletions
diff --git a/226/CH19/EX19.27/example27_sce.sce b/226/CH19/EX19.27/example27_sce.sce
index 6a1ddf83d..8f3aad995 100755
--- a/226/CH19/EX19.27/example27_sce.sce
+++ b/226/CH19/EX19.27/example27_sce.sce
@@ -1,13 +1,15 @@
-//chapter 19
-//example 19.27
-//page 883
-printf("\n")
-printf("given")
-Rw=.1;f=1*10^6;Lp=19.5*10^-6;Rl=1.2*10^3;Vcc=30;Idc=12.3*10^-3;
-QL=(2*3.14*f*Lp)/Rw
-Qp=Rl/(2*3.14*f*Lp)
-B=f/Qp
-Il=(.707*Vp)/(2*3.14*f*Lp)
-Pl=(Il)^2 *Rw
-Pi=(Vcc*Idc)+Pl
+//chapter 19
+//example 19.27
+//page 883
+printf("\n")
+printf("given")
+Rw=.1;f=1*10^6;Lp=19.5*10^-6;Rl=1.2*10^3;Vcc=30;Idc=12.3*10^-3;Vce=0.5;
+Vp=Vcc-Vce;
+Po=((Vp)^2) /(2*Rl);
+QL=(2*3.14*f*Lp)/Rw
+Qp=Rl/(2*3.14*f*Lp)
+B=f/Qp
+Il=(.707*Vp)/(2*3.14*f*Lp)
+Pl=(Il)^2 *Rw
+Pi=(Vcc*Idc)+Pl
n=(Po/Pi)*100 \ No newline at end of file