Apr-01-2020, 09:54 PM
Quote:from math import cos,sin,tan,pihow many steps is that? well in my prompt:
theta = 0.01
steps = int ((100*pi/theta))
>>> from math import cos,sin,tan,pi >>> theta = 0.01 >>> steps = int ((100*pi/theta)) >>> steps 31415how many do you need to make it back to your start point?
>>> from math import cos,sin,tan,pi >>> theta = 0.01 >>> steps = int ((2.01*pi/theta)) >>> steps 631it's always nice to have an emergency stop button- :)