Dismiss Notice
Join Physics Forums Today!
The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

Numeric algorithm (of projectile motion with drag)

  1. Nov 16, 2005 #1
    Using the suggested algorithm steps of the University Physics extra http://wps.aw.com/wps/media/objects/877/898586/topics/topic01.pdf" [Broken] I want to make Maple (ver. 10) output values for coordinates, speeds and accelerations (as described in the linked PDF).

    I've reached the 5th step, which is to be looped, through step 9. However, I'm not quite sure how that is best done. If it is possible to do using only a few "do"-commands.

    Step 5 calculates acceleration components ax and ay, neccessary for the calculation of the speed after a time DeltaT.

    Do I have to, e.g., calculate the first components of ax and ay before I can setup a regular do-loop (since all unknowns would then be defined for the same time t)?

    Last edited by a moderator: May 2, 2017
  2. jcsd
  3. Nov 19, 2005 #2
    Can I use the piecewise-function?
Share this great discussion with others via Reddit, Google+, Twitter, or Facebook