You are on page 1of 12

(*ASSIGNMENT

*)
(1) O - Mode
(* The dispersion relation for O - Mode is (c^2k^2)/^2 = 1 - p^2/^2 *)
(* This relation can be given as y = 1 - 1/x^2, where x = ^2/p^2 and y = (c^2k^2)/^2 *)
Plot[y=1-(1/x^2),{x,0,10}, AxesLabel  {/p,(c2 k2)/2}]

c2 k 2
2

1.0

0.8

0.6

0.4

2

4

6

(2) X - Mode
(* The dispersion relation for X - Mode is (c^2k^2)/^2 = 1 - (p^2(^2-p^2))/(^2(^2p^2-)) *)
(* This relation after normalization is (c^2k^2)/^2 = 1 - 1/(^2/p^2)(^2/p^2 1)/(^2/p^2 - 1 - ^2/p^2), for plotting this expression on the graph we may modify this
equation as y = 1 - 1/x^2(x^2 - 1)/(x^2 - 1 - ^2) where x = /p, y = (c^2k^2)/^2 and  =
/p *)
=0.1;

(c2 k2)/2}.PlotRange {-20. p2=Plot[y=1-(x2 .PlotStyle{Blue} ] 6 .0.10}.30}. AxesLabel  {/p.1)/(x2 (x2 .1)/(x2 (x2 .p1=Plot[y=1-(x2 .{x.(c2 k2)/2}.10}.PlotStyle{Red} ] c2 k 2 2 30 20 10 2 4 10 20 =1.1 .30}.0.0.2)).2)). AxesLabel  {/p.{x.1 .PlotRange {-20.

AxesLabel  {/p.1)/(x2 (x2 .0.PlotRange {-20.PlotStyle{Green} ] .(c2 k2)/2}.1 .10}.2)).{x.30}. p3=Plot[y=1-(x2 .c2 k 2 2 30 20 10 2 4 6 10 20 =3.0.

c2 k 2 2 30 20 10 2 10 20 Show[p1.p3] 4 6 .p2.

Wave Graph (A):(c2 k2)/2 Versus /p (* The dispersion relation for R-Wave is (c^2k^2)/^2 = 1 .p^2/(( .c2 k 2 2 30 20 10 2 4 10 20 (3) RL .p^2/(( + )) *) .)) and for LWave is (c^2k^2)/^2 = 1 .

1/(/p(/p .1/(x (x .+x) x) 1-1/(x (2.1/(x (x .Purple. +x)) Plot[{R2.)) L1=1 .1 +x)) =2. R1=1 .10}. R2=1 .1./p)) and (c^2k^2)/^2 = 1 . y = (c^2k^2)/^2 and  = /p *) =0.PlotStyle {Red.L2}.0.Black}.)) and y = 1 .AxesLabel  {/p.1/(x (x + )) 1-1/((-2.1/(x (x + )) 1-1/((-0.(* These relations after normalization become (c^2k^2)/^2 = 1 .Blue.PlotRange {-10.1+x) x) 1-1/(x (0.1/(x(x .)) L2=1 .0.1/(x(x + )) where x = /p.{x.1/(/p(/p + /p)) *) (* For plotting these expressions on the graph we may modify these equations as y = 1 .(c2 k2)/2}] .10}.

c2 k 2 2 10 5 2 4 5 10 Plot[{R1.AxesLabel  {/p.PlotStyle {Red.{x.10}.PlotRange {-10.10}.Blue.L2}.R2.Black}.Purple.0.(c2 k2)/2}] 6 .L1.

1/x(x + )) where x = /p.))) L1=1/(1 .p^2/(( . +x))) .1/x(x .1/(/p(/p .1/(x (x .c2 k 2 2 10 5 2 4 6 5 10 Graph (B):2/(c2 k2) Versus /p (* The dispersion relation for R-Wave is (c^2k^2)/^2 = 1 . R1= 1/(1 . y = ^2/(c^2k^2) and  = /p *) =2.1/(x (x + ))) 1/(1-1/((-2.p^2/(( + )) *) (* These relations after normalization become ^2/(c^2k^2) = 1/(1 .)) and y = 1/(1 .+x) x)) 1/(1-1/(x (2.1/(/p(/p + /p))) *) (*for plotting these expressions on the graph we can modify these equations as y = 1/(1 ./p))) and ^2/(c^2k^2) = 1/(1 .)) and for LWave is (c^2k^2)/^2 = 1 .0.

{y. y = /p and  = /p *) =2.10}./p)) and (c^2k^2/p^2)/(^2/p^2) = 1 .2/(c2 k2)}] 2 c2 k 2 10 5 2 4 6 5 10 Graph (C):/p Versus ck/p (* The dispersion relation for R-Wave is (c^2k^2)/^2 = 1 .p^2/(( + )) *) (* These relations after normalization become (c^2k^2/p^2)/(^2/p^2) = 1 .p^2/(( .Black}.1/(y(y + )) where x = ck/p.PlotStyle {Red.10}.1/(y(y .)).L1}.0.Plot[{R1.0.Blue.Purple.PlotRange {-10.AxesLabel  {/p.0.)) and for LWave is (c^2k^2)/^2 = 1 .{x. ContourPlot[x2/y2 == 1 .)) and x^2/y^2 = 1 .10}] .0.1/(/p(/p + /p)) *) (*for plotting these expressions on the graph we can modify these equations as x^2/y^2 = 1 .{x.1/(/p(/p .1/(y (y .10}.

10 8 6 4 2 0 0 2 4 6 .

{x.0.10}.1/(y (y + )).0.0.{y.=2.10}] . ContourPlot[x2/y2 == 1 .

10 8 6 4 2 0 0 2 4 6 .