summaryrefslogtreecommitdiff
path: root/339/CH8/EX8.11/ex8_11.sce
diff options
context:
space:
mode:
Diffstat (limited to '339/CH8/EX8.11/ex8_11.sce')
-rwxr-xr-x339/CH8/EX8.11/ex8_11.sce15
1 files changed, 15 insertions, 0 deletions
diff --git a/339/CH8/EX8.11/ex8_11.sce b/339/CH8/EX8.11/ex8_11.sce
new file mode 100755
index 000000000..c987a6e0f
--- /dev/null
+++ b/339/CH8/EX8.11/ex8_11.sce
@@ -0,0 +1,15 @@
+theta=(1:1:360)/180*%pi; //define conduction angle
+
+//compute efficiency
+nu=-1/2*(theta-sin(theta))./(theta.*cos(theta/2)-2*sin(theta/2));
+
+plot(theta/%pi*180,nu*100,'r','linewidth',2);
+set(gca(),"auto_clear","off");
+plot([0 180],[%pi/4*100 %pi/4*100],'b:');
+plot([180 180],[0 %pi/4*100],'b:');
+plot(180,%pi/4*100,'bo');
+plot(360,50,'bo');
+mtlb_axis([0 360 50 100]);
+title('Maximum theoretical efficiency of the amplifier');
+xlabel('Conduction angle \Theta_0, deg.');
+ylabel('Efficiency \eta, %'); \ No newline at end of file