diff options
Diffstat (limited to '728/CH4/EX4.21/Ex4_21.txt')
-rwxr-xr-x | 728/CH4/EX4.21/Ex4_21.txt | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/728/CH4/EX4.21/Ex4_21.txt b/728/CH4/EX4.21/Ex4_21.txt new file mode 100755 index 000000000..3155c151b --- /dev/null +++ b/728/CH4/EX4.21/Ex4_21.txt @@ -0,0 +1,15 @@ +//Caption:Calculate the maximum power
+//Exa:4.21
+clc;
+clear;
+close;
+c=3*10^10;//in cm/s
+f=9*10^9;//inHz
+E_max=300;//in V/cm
+d=5;
+wl_o=c/f;
+//For TE11
+wl_c=d*%pi/1.841;
+wl_g=wl_o/sqrt(1-(wl_o/wl_c)^2);
+P_max=0.498*E_max^2*d^2*(wl_o/wl_g);
+disp(P_max,'Maximum power (in watts) =');
|