How to study the bessels and legendre function