mercredi 10 février 2016

Drawing the Parabolic Trajectory of an Object under Gravity

When you throw an object into the air, its trajectory is a parabola. How do its instantaneous velocity and the vertical and horizontal components of the instantaneous velocity change over the course of its trajectory? What happens when the initial speed is larger? Smaller? What happens if the gravity were larger? Smaller? Zero? Negative? Holding gravity and the initial speed constant, in which direction can you throw to make the object reach the farthest point along the horizon?
This sketch created using Dr. Geo can help a high school physics teacher explore all these questions with her/his students.
In this article we will show you how to construct this gravity sketch. The reader is assumed to be familiar with the basics of Dr. Geo such as drawing parallel lines and changing the colors/names/styles/... of the points and lines.


Thanks to Hilaire for editing and typesetting the article in PDF for a much more pleasant for reading and printing.

The initial plot

The initial velocity and the gravity vectorWe also need the gravity vector. But later you would find that it's difficult to drag the gravity vector directly because it's too close to the origin (if we want to see the interesting portion of the parabola). So we create a point "Gravity Handle" along the negative y-axis at a comfortable distance, and create the point "g" as the end point of the real gravity vector at roughly 0.2 or 0.25 times distance. To do this you need to create a number "g-scale", set it to 0.2 or 0.25, and use the Homothety transform (i.e. homogeneous dilation) to scale "Gravity Handle" down towards "O". 
  1. Enable "axes" and "magnetic grid" in "edit" menu.
  2. Create points "Ha" and "Hb" far out along the x-axis, say (-40,0) and (40,0). Create the straight line passing "Ha" and "Hb" as the horizon. Hide and lock "Ha" and "Hb".
  3. Create a circle centered at the origin "O" and passing a point "Speed" along the x-axis. Lock "O".
  4. Create a straight line passing "O" perpendicular to line "Ha"-"Hb". This is just the y-axis.
  5. Disable axes and "magnetic grid" in "edit" menu.
  6. Create a line segment from "O" to a free point "V0" on the circle. This is the initial velocity vector.
  7. From "V0" draw lines perpendicular or horizontal to the axes and intersect the x-axis/y-axis at "V0x"/"V0y". Hide the two auxiliary lines. Draw line segments "O"-"V0x" and "O"-"V0y". These are the initial velocities along the two axes.
[Download step2.fgeo]

The Focus and the Directrix of the Parabola

To draw the parabola, we need to find its focus and directrix. Obviously the axis of the parabola is the vertical line at d=V0x*tx distance away from the y-axis where tx is the time for the vertical component of the velocity to reach zero. Therefore d/V0x = V0y/(-g).
At time tx the object also reaches the hightest point of its trajectory at the height of hx=-g*tx^2/2=(d*V0y)/(V0x*2). Therefore 2*hx/V0y = d/V0x.
    Finding the vertex of the parabola
  1. Use mirror or symmetry to find the point "-g" on the positive y-axis.
  2. Draw straight line "-g"-"V0x". Draw a straight line parallel to "-g"-"V0x" and passing "V0y". Intersect the latter line with the x-axis at point "d". Draw x-axis's perpendicular line at d. This is the "axis" of symmetry of the parabola.
  3. Draw straight line "V0x"-"V0y". Draw a straight line parallel to "V0x"-"V0y" and passing "d". Intersect the latter line with the y-axis at point "2h". Find the midpoint of "2h" and "O" as "h".
  4. Draw x-axis's parallel line passing "h" and intersect it with "axis" at point "vertex". This is the top of the trajectory, also called the vertex of the parabola.
  5. Hide the two pairs of auxiliary parallel lines. Hide "2h" and "h".
[Download step3.fgeo]
Next we find the focus of the parabola. It lies somewhere on the axis of symmetry. Recall that any light coming from the focus will be reflected -- if the parabola represents amirror -- into the direction parallel to the axis of symmetry, and vice versa. Also recall that the instantaneous velocity is tangent to the parabola.
    Finding the focus and directrix of the parabola
  1. Draw the straight line "O"-"V0" and use it to mirror the "Gravity handle" (or "g" or "V0y", either will work) into the point "G2".
  2. Draw straightline "G2"-"O" and intersect it with "axis" to obtain "Focus".
  3. Apply Homothety or Reflection to Focus and draw a line parallel to the x-axis. This is the directrix of the parabola.
  4. Hide the auxiliary lines and points.
[Download step4.fgeo]

The Parabola Itself

Now we can draw the parabola. Recall that it is the locus of all points that are equally distant from the focus as from the directrix.
    Drawing the parabola using the locus tool
  1. Draw a free point "p" on the x-axis. This point will provide user interaction to control the position of the instantaneous velocity drawing.
  2. Draw the line vertical to the x-axis and passing "p", then intersect the line with the directrix at point "q".
  3. Draw line segment "Focus"-"q". Find its midpoint "m" and draw the straight line "T" perpendicular to the line segment. Intersect "T" with "p"-"q" at "r".
  4. Use the locus tool in line menu to draw the parabola, using "p" as the free (independent) point and "r" as the relative (dependent) point.
  5. Hide the auxiliary lines and points except line "T".
[Download step5.fgeo]

The Instantaneous Velocity

Finally we will draw the instantaneous velocity at point "r".
    the instantaneous velocity Vp and its components Vpx and Vpy
  1. Draw vector "O"-"r". Use it to translate the point "V0x" to "Vpx". Draw line segment "r"-"Vpx". This horizontal component of the instantaneous velocity remains constant at all times.
  2. The instantaneous velocity lies on the tangent line "T". So from "Vpx" draw a vertical line to intersect with "T" at "Vp". This is the end point of the instantaneous velocity.
  3. From "Vp" draw a horizontal line to intersect with straight line "p"-"r" at "Vpy". This is the end point of the vertical component of the instantaneous velocity.
  4. Clean up the drawing and add some textual explanations.
[Download step7.fgeo]

Conclusion

My first attempt created a sketch that became broken when the initial velocity moves out of the first quadrant (x>=0, y>=0). I guess it was because at some step an absolute value (length) was taken. It's probably better to think in terms of and make use of parallel lines instead of sign-less lengths when you construct a sketch.
In fact Dr. Geo has very powerful Pharo scripting capabilities. However, drawing this sketch using only the basic drawing primitives makes it so... classic and so much more fun. I also learned one or two properties about parabola that I never knew as a high school kid (or as an adult).

Chao-Kuei Hung

Aucun commentaire:

Enregistrer un commentaire