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
Post a Comment