53 void coax::get_coax_sub ()
65 void coax::get_coax_comp ()
74 void coax::get_coax_elec ()
84 void coax::get_coax_phys ()
91 double coax::alphad_coax ()
95 ad = ad * 20.0 /
log(10.0);
99 double coax::alphac_coax ()
103 ac =
sqrt(er) * (((1/din) + (1/dout))/
log(dout/din)) * (Rs/
ZF0);
104 ac = ac * 20.0 /
log(10.0);
130 ang_l = (2.0 *
M_PI * l)/lambda_g;
170 l = (lambda_g * ang_l)/(2.0 *
M_PI);
179 void coax::show_results()
184 atten_dielectric = alphad_coax () * l;
185 atten_cond = alphac_coax () * l;
194 char text[256], txt[256];
195 strcpy (text,
"TE(1,1) ");
198 while ((fc <= f) && (m<10)) {
199 sprintf(txt,
"TE(n,%d) ",m);
209 fc =
C0 /
sqrt (er *
mur) / ((dout - din)/(
float) m);
211 char text[256], txt[256];
213 while ((fc <= f) && (m<10)) {
214 sprintf(txt,
"TM(n,%d) ",m);
217 fc =
C0 /
sqrt (er *
mur) / ((dout - din)/(
double) m);