Numeric algorithm (of projectile motion with drag)

Click For Summary
SUMMARY

The discussion focuses on implementing a numeric algorithm for projectile motion with drag using Maple version 10, based on guidelines from a University Physics resource. The user has successfully reached step 5, which involves calculating acceleration components ax and ay, essential for determining speed over a time interval DeltaT. The main challenge is establishing an efficient looping structure to iterate through steps 5 to 9, with particular interest in utilizing "do"-commands and potentially a piecewise function for calculations.

PREREQUISITES
  • Understanding of projectile motion physics principles
  • Familiarity with Maple version 10 programming syntax
  • Knowledge of numerical algorithms for iterative calculations
  • Experience with piecewise functions in mathematical modeling
NEXT STEPS
  • Research how to implement loops in Maple, specifically using "do"-commands
  • Explore the use of piecewise functions in Maple for dynamic calculations
  • Study the complete algorithm for projectile motion with drag as outlined in the University Physics PDF
  • Learn about numerical methods for solving differential equations related to motion
USEFUL FOR

Physics students, computational scientists, and anyone involved in numerical modeling of motion dynamics, particularly those using Maple for simulations.

Bonulo
Messages
46
Reaction score
0
Using the suggested algorithm steps of the University Physics extra http://wps.aw.com/wps/media/objects/877/898586/topics/topic01.pdf" 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, necessary 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)?

:smile:
 
Last edited by a moderator:
Physics news on Phys.org
Can I use the piecewise-function?
 

Similar threads

Replies
1
Views
2K
  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 7 ·
Replies
7
Views
7K
  • · Replies 4 ·
Replies
4
Views
2K
Replies
7
Views
5K
  • · Replies 13 ·
Replies
13
Views
2K
  • · Replies 1 ·
Replies
1
Views
3K
  • · Replies 7 ·
Replies
7
Views
2K
  • · Replies 2 ·
Replies
2
Views
17K
  • · Replies 2 ·
Replies
2
Views
3K