When a particle is projected vertically upwards with an initial velocity of v0, it experiences an acceleration a=-(g+kv^2), where g is the acceleration due to gravity, k is a constant and v is the velocity of the particle. Determine the maximum height reached by the particle.