I have a formula which calculates the position of a point in space:
x = d[0]*math.cos(t)
and I would like to be able to call out the position in a certain time. I thought that maybe I could use for loop 'for' so I can know the positions in the intervals for (t = from 1 to 40 for example) but what if I want to know the value for example in t = 2.564. Is there a way to call out this value for a non-integer argument?