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

php - How to add and update images or image url in Volusion using Volusion API -

javascript - jQuery UI Splitter/Resizable for unlimited amount of columns -

javascript - IE9 error '$'is not defined -