Advertisement
Matthen

Coriolis Effect

Jun 4th, 2011
684
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.62 KB | None | 0 0
  1. a = Pi/4;
  2. Manipulate[Show[Graphics[Join[
  3. {Circle[]},
  4. Table[
  5. Line[{{0, 0}, {Sin[ t + 2 Pi i], Cos[ t + 2 Pi i]}}], {i, 0, 1,
  6. 0.1}],
  7. {Blue, Disk[{Sin[t], Cos[t]}, 0.07], Yellow,
  8. Disk[{Sin[t + Pi], Cos[t + Pi]}, 0.07], Red,
  9. Disk[{0, -1} + t {1/(Sqrt[2] a), (1/a) (1 + 1/Sqrt[2])}, 0.04],
  10. Line[{{0, -1}, {0, -1} +
  11. t {1/(Sqrt[2] a), (1/a) (1 + 1/Sqrt[2])}}]
  12. }
  13. ], PlotRange -> {{-1.2, 1.2}, {-1.2, 1.2}}],
  14. ParametricPlot[
  15. RotationMatrix[
  16. tt - t].({0, -1} +
  17. tt {1/(Sqrt[2] a), (1/a) (1 + 1/Sqrt[2])}), {tt, -0.001, t}]
  18. ], {t, 0, Pi/4}]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement