The distance of the middle point of the line joining two points (asinθ,0),(0,acosθ) from the origin is-