physics - Rocket simulation with Python: syntax error -


i have implement python rocket simulation physics class, , "invalid syntax" error. stupid mistake i'm stuck… here's line gets error. it's in loop goes 0 timesteps (which 10 000):

acceleration[i] = (f_ext + velocity_rel[i]**2 * area_nozzle * density_water)/mass_total[i] 

i "invalid syntax" pointing @ acceleration, array defined earlier:

acceleration = numpy.zeros(timesteps+1,dtype='d') 

thank help!


Comments

Popular posts from this blog

How to get the arclen between two curve points in Maya? -

C++ Linked List -

git svn - Unignore directories in git-svn (adding directories to a sparse checkout) -