该链接不显示任何图像。请使用绿色和棕色框架图标将图像插入问题的正文中。
Also, don't use time as a variable. It's a built in function. And r and z are determined in the first 3 lines of your for loop, so why are those other lines calculating E, ecc, and theta_1 there if you don't use them???