A particle is projected from A on a fixed sphere of radius r at an angle θ from the vertical as shown. If the particle lands at point B on the sphere, then the speed of projection is:

a) sqrt(2gr)
b) sqrt(gr)
c) sqrt(4gr)
d) 2sqrt(gr)