diff options
Diffstat (limited to '728/CH4/EX4.2/Ex4_2.txt')
-rwxr-xr-x | 728/CH4/EX4.2/Ex4_2.txt | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/728/CH4/EX4.2/Ex4_2.txt b/728/CH4/EX4.2/Ex4_2.txt new file mode 100755 index 000000000..72254bd36 --- /dev/null +++ b/728/CH4/EX4.2/Ex4_2.txt @@ -0,0 +1,25 @@ +//Caption:Calculate the attenuation, phase constants,phase velocity,relative permittivity,power loss.
+//Exa:4.2
+clc;
+clear;
+close;
+R=0.05;//in ohms
+G=0;
+l=50;//in meter
+e=2.3;//dielectric constant
+c=3*10^8;//in m/s
+L=2*(10^-7);//from Exa:4.1
+C=1.58*(10^-10);//from Exa:4.1
+P_in=480;//in watts
+f=3*10^9;//in hertz
+Z_o=sqrt(L/C);
+a=R/Z_o;//in Np/m
+b=2*%pi*f*sqrt(L*C);//in rad/m
+V_p=1/sqrt(L*C);
+e_r=(c/V_p)^2;
+P_loss=P_in*2*l;
+disp(a,'Atteneuation (in Np/m) =');
+disp(b,'Phase constant (in rad/m) =');
+disp(V_p,'Phase velocity (in m/s) =');
+disp(e_r,'Relative permittivity =');
+disp(P_loss,'Power loss (in watts) =');
|