Hey guys,

I am just writing to see if anyone can give me some insight as the what exactly is happening here. I get that we are crafting a polynomial equation to give us a graph essentially that the hero follows…but looking at the code I am kind of at a loss.

First off:

```
# This function returns the number multiplied by the times
def mult(number, times):
total = 0
while times > 0:
total += number
times -= 1
return total
```

- What is this? I don’t see the function “mult” used anywhere else in the code. What number? Times of what?

`while True: y = a * power(x, 3) + b * power(x, 2) + c * power(x, 1) + d * power(x, 0) hero.moveXY(x, y) x = x + 5`

- ^^^^ having trouble with formatting here, sorry…So I get that this is the cubic equation where a, b, c, d are coefficients stored in the tower. But why is x = x + 5? Is this the slope?

Sorry guys, math is rusty. TBH I hated math in high school and didn’t pay attention, but as an adult it is fun, but I have to relearn everything now and APPLY it to coding. Having fun, but could use some noob love.

Thanks in advance,

Mike