#Trajectory Simulation

5 messages · Page 1 of 1 (latest)

chilly forge
#

Hello, I am a 17 year old student and my physics teacher asked me to create a python program to determine the optimal angle for a javelin throw. However, I have some difficulties with the calculation of the lift force acting on the javelin. Indeed, when I draw the trajectory with my current calculations, the trajectory looks weird. I suppose there could be an error in the calculation of the lift force like a sign error or the use of a wrong trigonometric function. Thanks for your help :)

The purpose of the code below is only to plot the trajectory

And i'd like to know if the calculation of theta in the loop is correct or if I need to create an array as well

PS: English is not my first language, so I'm sorry for any spelling mistakes

quartz frostBOT
#
  1. Wait patiently for a helper to come along.
  2. Once someone helps you, say thank you and close the thread with: ```diff
    +close
chilly forge
#

Any help please ?

chilly forge
#

+close