Maximizing Horizontal Range of a Projectile

AI Thread Summary
The discussion focuses on maximizing the horizontal range of a projectile using various methods, including implicit differentiation and vector equations. Participants address potential errors in the equations presented, specifically correcting terms related to the range and slope definitions. There is a debate over the effectiveness of using Wolfram Alpha (WA) for solving vector equations, with some users reporting issues while others successfully utilize Mathematica for similar calculations. The conversation emphasizes the importance of understanding the underlying physics rather than relying solely on conventional methods or software. Overall, the thread highlights the complexities of projectile motion analysis and the need for careful mathematical formulation.
neilparker62
Science Advisor
Homework Helper
Insights Author
Messages
1,191
Reaction score
683

Attachments

  • Maximum-Range-diagram-1.jpg
    Maximum-Range-diagram-1.jpg
    6.8 KB · Views: 296
  • Maximum-Range-diagram-1.jpg
    Maximum-Range-diagram-1.jpg
    6.7 KB · Views: 217
  • Maximum-Range-diagram-1.jpg
    Maximum-Range-diagram-1.jpg
    6.8 KB · Views: 240
  • Maximum-Range-diagram-1.jpg
    Maximum-Range-diagram-1.jpg
    6.8 KB · Views: 215
  • Maximum-Range-diagram-1.jpg
    Maximum-Range-diagram-1.jpg
    6.7 KB · Views: 225
  • Maximum-Range-diagram-1.jpg
    Maximum-Range-diagram-1.jpg
    6.8 KB · Views: 193
  • Maximum-Range-diagram-1.jpg
    Maximum-Range-diagram-1.jpg
    6.8 KB · Views: 200
  • Maximum-Range-diagram-1.jpg
    Maximum-Range-diagram-1.jpg
    6.8 KB · Views: 182
  • Maximum-Range-diagram-1.jpg
    Maximum-Range-diagram-1.jpg
    6.7 KB · Views: 202
  • Maximum-Range-diagram-1.jpg
    Maximum-Range-diagram-1.jpg
    6.8 KB · Views: 180
  • Maximum-Range-diagram-1.jpg
    Maximum-Range-diagram-1.jpg
    6.8 KB · Views: 312
  • Maximum-Range-diagram-1.jpg
    Maximum-Range-diagram-1.jpg
    5.1 KB · Views: 432
Last edited by a moderator:
  • Like
Likes vanhees71 and Greg Bernhardt
Physics news on Phys.org
Nice article! Thanks for writing and sharing it!
 
  • Like
Likes vanhees71
Thanks for posting. An error, perhaps, and a question, I extend. 1] In the 3rd equation right hand side, the first term should be $$R~tan(\theta)$$ and NOT $$v_0~R~tan(\theta) ~.$$ 2] In Method 2, should your definitions of ##\alpha## be $$sin(\alpha) = \frac{h}{R'} , where $$ $$R' = \sqrt{h^2+R^2}~,$$ and ##R## is defined as in your figure?
 
  • Like
Likes neilparker62 and vanhees71
Thanks for the correction - have updated as per your suggestion. Please let me know if there's anything still unclear.
 
1617639013134.png

I attempted solving this problem using @kuruman 's equation ##|\vec{v_i} \times \vec{v_f}|=Rg## in Method 3. Wolfram Alpha choked on it - readers might find it interesting to figure out why ?

1617639255818.png
 
I am a Mathematica person myself so I put the two kinematic equations in x and y and asked it to solve for the time of flight tf and the height h. It worked fine (see below). I don't understand WA code well enough to ascertain what you are doing with it.

Screen Shot 2021-04-05 at 12.03.19 PM.png
 
  • Like
Likes vanhees71
Don't go conventional - just trust your own method! WA choked and it wasn't because your method or WA is at fault! The 'code' I put in was quite simple - it asked WA to solve the vector equation directly. What you have above is the solution provided on the kinematics webpage here and your vector technique shows it up as wrong!
 
neilparker62 said:
Don't go conventional - just trust your own method! WA choked and it wasn't because your method or WA is at fault! The 'code' I put in was quite simple - it asked WA to solve the vector equation directly. What you have above is the solution provided on the kinematics webpage here and your vector technique shows it up as wrong!
I don't see why the WA 'code' is a vector equation. I can see the two-dimensional vector on the left side but the right-hand side looks like a scalar and why is it negative? Also, I don't know about WA, but Mathematica does not accept 2-d vector cross products. For 2-d vectors, a third component must be set to zero.

I think the proper way to use the equation directly in WA is to ask it to solve the equation $$\sqrt{\left[v_0(\cos\theta, \sin\theta,0) \times (v_0\cos\theta,-\sqrt{v_{0}^2\sin^2\theta-2g\Delta h},0)\right]\cdot \left[v_0(\cos\theta, \sin\theta,0) \times (v_0\cos\theta,-\sqrt{v_{0}^2\sin^2\theta-2g\Delta h},0)\right]} =gR.$$The LHS is the square root of the dot product of the cross product with itself, i.e. the magnitude. It is set equal to ##gR##, a positive quantity.

I tried this with Mathematica. The numerical NSolve befuddled it. However, I got the expected result with cautionary messages when I used FindRoot and gave it an approximate value for ##\Delta h##.
 
WA is fine with 2D vector cross products. eg (ai + bj) x (ci + dj) would be entered as {a,b} cross {c,d}. The output is negative because i x -j is negative. On entry you need to make sure the ##v_f## vector is pointing downwards because the projectile is landing on the roof. It has passed (or should have passed) the maximum point of the trajectory. The reason WA chokes is not because it is wrong nor that your vector equation is wrong but because 15m is on the wrong side of the axis of symmetry - the projectile is still heading upward at that point. See following parametric graph of the projectile motion:

https://www.desmos.com/calculator/fwage30bpg
 
Back
Top