Premium problem98. Equidistant Path Sampling

Hard Locked

Resample a spiral path with n_points equidistant points along its arc length, and return a (2, n_points) array [x_int, y_int]:

  • phi = arange(0, 10*pi, 0.1)
  • x = phi*cos(phi)
  • y = phi*sin(phi)

Input

200

Premium problem

This one's part of Premium. Unlock the full NumPy track plus every other premium problem on the site.

Implement solve(...)