Guest User

Untitled

a guest
Oct 16th, 2018
78
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.50 KB | None | 0 0
  1. eqnofmotion := 1/r^3 D[r^3 D[f[r], r], r] + M0^2/(r^2 + L^2)^2 f[r]
  2. L := 1
  3. M0 := 2 Sqrt[2]
  4. sltn = NDSolve[{eqnofmotion == 0, f[10^-5] == 1, f'[10^-5] == 0},
  5. f, {r, 10^-5, 10^2}];
  6. Plot[ f[r] /. sltn, {r, 10^-5, 10^2}, PlotRange -> {-1, 1},
  7. PlotStyle -> {Thick, Black},
  8. BaseStyle -> {18, FontFamily -> "Times New Roman"},
  9. AxesLabel -> {"[Rho]", "[Delta]L([Rho])"},
  10. PlotLegends -> Automatic]
  11. f[r] /. sltn /. r :> 10^2
  12.  
  13. function0[r_] := f[r] /. sltn
  14. derivative0[r_] := function0'[r]
  15. function0[r] /. r :> 100
  16. derivative0[r] /. r :> 100
  17.  
  18. scalarasymptote[r_] := operator/r^3 + source r
  19. (*Define and solve the system to determine operator and source*)
  20.  
  21. Solve[{scalarasymptote[100] == 0.0000999607,
  22. scalarasymptote'[100] == - 1.99889 10^-6}, {operator, source}]
  23.  
  24. (*Now use that [ScriptCapitalJ] = g^2/[CapitalLambda]^2
  25. [ScriptCapitalO]*)
  26. (*[CapitalLambda] is the UV cutoff.*)
  27. [CapitalLambda] := 10^2
  28. NSolve[ 2.49983 10^-7 == 74.9624 a/[CapitalLambda]^2, a]
  29.  
  30. eqnofmotion[L_, M0_] :=
  31. 1/r^3 D[r^3 D[f[r], r], r] + M0^2/(r^2 + L^2)^2 f[r];
  32. scalarasymptote[r_] := operator/r^3 + source r;
  33.  
  34. sltn[L_, M0_] :=
  35. NDSolve[{eqnofmotion[L, M0] == 0, f[10^-5] == 1, f'[10^-5] == 0},
  36. f, {r, 10^-5, 10^2}];
  37.  
  38. sltn2[L_, M0_] :=
  39. Solve[Evaluate[{scalarasymptote[100] == f[100],
  40. scalarasymptote'[100] == f'[100]} /.
  41. First@sltn[L, M0]], {operator, source}];
  42.  
  43. sltn3[L_, M0_, Λ_] :=
  44. Solve[(source == operator a/Λ^2) /.
  45. First@sltn2[L, M0], a];
  46.  
  47. Plot[a /. sltn3[1, m, 100], {m, 0, 2 Sqrt[2]}]
Add Comment
Please, Sign In to add comment