I am using Mathematica 10. I have the following code yielding a ragged plot
market [r_, a_] = (1 + 2*r + a^2)/(1 - 2*I*(Sqrt[a^2 - r^2]) - a^2);
stock11[l_, x_, r_, a_] = (
Abs[market[r, a]]^2* Exp[- 5.59 * 10^9 * x])/
2 (Cosh[(1.1174 * 10^10)/2 x] - Exp[- l* x] Cos[5.302*10^9 x]);
stock22[l_, x_] =
Exp[- 5.59 * 10^9* x]/
2 (Cosh[(1.1174 * 10^10)/2 x] + Exp[- l*x] Cos[5.302*10^9 x]);
VarianceS[l_, x_, r_, a_] =
1 - 4*stock11[l, x, r, a] + 8*stock11[l, x, r, a]*stock22[l, x] +
Abs[market[r, a]]^2* Exp[-2*5.59 * 10^9*x] (Exp[-2*l*x] - 1) ;
Λ[l_, x_, r_, a_] =
1 - 2 stock11[l, x, r,
a]; (* The two time correlation Subscript[C, 01] = Subscript[c, \
12] = Λ*)
VarianceT[l_, x_, r_, a_] =
2 Λ[l, x, r, a] - Λ[l, 2*x, r, a];
differenceV[l_, x_, r_, a_] =
VarianceS[l, x, r, a] - VarianceT[l, x, r, a];
Plot[differenceV[0, 1.7889*10^-10*x, 0.001596, 2.228*10^-3], {x, 0,
20}]
Is there any way of smoothing this raggedness/peaks?
F
. How is it defined? $\endgroup$list = Table[ differenceV[0, 1.7889*10^-10*x, 0.001596, 2.228*10^-3], {x, 0, 20, 0.001}]; ListLinePlot@list
yields this: i.sstatic.net/XTI4W.png $\endgroup$