電磁気学第2回レポート


問題 HE11、TE01の各モードに対して、bをVの関数としてグラフを描け。


HE11モードのプログラム 
TE01モードのプログラム
 
gnuplot> plot "HE11.txt" u 2:1 w p    *x軸にV(2に対応)、y軸にb(1に対応)*
gnuplot> plot "HE11.txt" u 2:1 w l
gnuplot> set xrange [0:30]
gnuplot> replot
gnuplot> plot "TE01.txt" u 2:1 w l
gnuplot> replot "HE11.txt" u 2:1 w l   *二つのグラフを同時に表示*

gnuplot> set xlabel "V"
gnuplot> set xlabel 28,0   *xlabelの表示位置を左に28移動*
gnuplot> replot
gnuplot> set ylabel "b"
gnuplot> set ylabel 0,20  *ylabelの表示位置を上に20移動*
gnuplot> replot



問題 V<<1で近似して解き直すと、HE11モードは原点を通り、TE01モードはb=0でV=2.405になる。 これを満たすようにdatファイルを修正し、図示せよ。

gnuplot> set xrange [0:30] gnuplot> plot "HE11_new.txt" u 2:1 w l gnuplot> replot "TE01_new.txt" u 2:1 w l gnuplot> set xlabel "V" 28,0 gnuplot> set ylabel "b" 0,20 gnuplot> replot

問題 群速度vgをVの関数として求め、c/vgをVの関数として図示せよ。

b,V,c/vgを計算するプログラム gnuplot> plot "HE11_vg.txt" u 2:3 w l gnuplot> set yrange [0.999:1.004] gnuplot> replot gnuplot> set xrange [0:50] gnuplot> set xlabel "V" 28,0 gnuplot> set ylabel "c/vg" 0,20 gnuplot> replot