Guest User

Untitled

a guest
Jan 16th, 2019
75
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.83 KB | None | 0 0
  1. ClearAll[f];
  2. f[F_, y_] = x /. Solve[x^2 == (x - F)^2 + y^2, x][[1]]
  3. Manipulate[
  4. Show[
  5. ParametricPlot[{f[F, y], y}, {y, -6, 6}],
  6.  
  7. Graphics[{
  8. Point[{f[F, y], y}], Text["M", {f[F, y], y} + 0.25],
  9. Point[{F, 0}], Text["F", {F, 0} + 0.25],
  10. Point[{0, y}], Text["A", {0, y} + 0.25],
  11. Line[{{0, y}, {f[F, y], y}}],
  12. Line[{{F, 0}, {f[F, y], y}}]
  13.  
  14. }],
  15. Axes -> True, PlotRange -> {{-10, 10}, {-6, 6}},
  16. AxesOrigin -> {0, 0},
  17. ImageSize -> Large
  18. ],
  19. {{y, 1}, -6, 6}, {{F, 1}, -10, 10}
  20. ]
  21.  
  22. standardParabola[x_] := (x^2);
  23. ListLinePlot[
  24. Table[Evaluate@{standardParabola[x], x}, {x, -5, 5, .01}]
  25. ]
  26.  
  27. Plot[{Sqrt[x], -Sqrt[x]}, {x, -2, 4},
  28. PlotStyle -> {Blue, Blue},
  29. Epilog -> {Green, Thickness[0.005], Line[{{-1, -2}, {-1, 2}}],
  30. Red, PointSize[0.02], Point[{1, 0}],
  31. Dashed, Line[{{1, 0}, {.25, .5}, {-1, .5}}]}]
Add Comment
Please, Sign In to add comment