Anda di halaman 1dari 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) X - Mode
(* The dispersion relation for X - Mode is (c^2k^2)/^2 = 1 - (p^2(^2-p^2))/(^2(^2p^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;

p1=Plot[y=1-(x2 - 1)/(x2 (x2 - 1 - 2)),{x,0,10},PlotRange {-20,30}, AxesLabel


{/p,(c2 k2)/2},PlotStyle{Red} ]

c2 k 2
2

30

20

10

10

20
=1.0;
p2=Plot[y=1-(x2 - 1)/(x2 (x2 - 1 - 2)),{x,0,10},PlotRange {-20,30}, AxesLabel
{/p,(c2 k2)/2},PlotStyle{Blue} ]

c2 k 2
2

30

20

10

10

20
=3.0;
p3=Plot[y=1-(x2 - 1)/(x2 (x2 - 1 - 2)),{x,0,10},PlotRange {-20,30}, AxesLabel
{/p,(c2 k2)/2},PlotStyle{Green} ]

c2 k 2
2

30

20

10

2
10

20
Show[p1,p2,p3]

c2 k 2
2

30

20

10

10

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

(* These relations after normalization become (c^2k^2)/^2 = 1 - 1/(/p(/p - /p))


and (c^2k^2)/^2 = 1 - 1/(/p(/p + /p)) *)
(* For plotting these expressions on the graph we may modify these equations as
y = 1 - 1/(x(x - )) and y = 1 - 1/(x(x + )) where x = /p, y = (c^2k^2)/^2 and = /p
*)
=0.1;
R1=1 - 1/(x (x - ))
L1=1 - 1/(x (x + ))
1-1/((-0.1+x) x)
1-1/(x (0.1 +x))
=2.0;
R2=1 - 1/(x (x - ))
L2=1 - 1/(x (x + ))
1-1/((-2.+x) x)
1-1/(x (2. +x))
Plot[{R2,L2},{x,0,10},PlotRange {-10,10},PlotStyle
{Red,Purple,Blue,Black},AxesLabel {/p,(c2 k2)/2}]

c2 k 2
2

10

10
Plot[{R1,R2,L1,L2},{x,0,10},PlotRange {-10,10},PlotStyle
{Red,Purple,Blue,Black},AxesLabel {/p,(c2 k2)/2}]

c2 k 2
2

10

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

Plot[{R1,L1},{x,0,10},PlotRange {-10,10},PlotStyle
{Red,Purple,Blue,Black},AxesLabel {/p,2/(c2 k2)}]

c2 k 2
10

10
Graph (C):/p Versus ck/p
(* The dispersion relation for R-Wave is (c^2k^2)/^2 = 1 - p^2/(( - )) and for LWave is (c^2k^2)/^2 = 1 - p^2/(( + )) *)
(* These relations after normalization become
(c^2k^2/p^2)/(^2/p^2) = 1 - 1/(/p(/p - /p)) and (c^2k^2/p^2)/(^2/p^2) =
1 - 1/(/p(/p + /p)) *)
(*for plotting these expressions on the graph we can modify these equations as
x^2/y^2 = 1 - 1/(y(y - )) and x^2/y^2 = 1 - 1/(y(y + )) where x = ck/p, y = /p and =
/p *)
=2.0;
ContourPlot[x2/y2 == 1 - 1/(y (y - )),{x,0,10},{y,0,10}]

10

0
0

=2.0;
ContourPlot[x2/y2 == 1 - 1/(y (y + )),{x,0,10},{y,0,10}]

10

0
0

Anda mungkin juga menyukai