title: Accelerating a point in two dimensions
body: <p>I have the following Python code:</p>
  
  <pre><code>import math
  
  x = 0
  y = 0
  
  acceleration = 10
  angle = 0
  
  vx = 0
  vy = 0
  
  time = 10
  for _ in range(time):
      vx += acceleration * math.cos(math.radians(angle))
      vy += -acceleration * math.sin(math.radians(angle))
  
      x += vx
      y += vy
  
  print(x, y)
  </code></pre>
  
  <p>Which outputs:</p>
  
  <p><code>550.0 0.0</code></p>
  
  <p>This is not what the equation for displacement yields.</p>
  
  <p><code>(acceleration * time**2) / 2</code> = <strong>500</strong></p>
  
  <p>What am I doing wrong? I would like to solve the problem without using time; pretend it doesn't exist. </p>