function ellec=ellecVec(k) % Computes polynomial approximation for the complete elliptic % integral of the second kind (Hasting's approximation): m1=1-k.*k; m1(m1