Study of radiation in spherical media using discrete ordinates method associated with the finite Legendre transform