Cross section transformation with Jacobian and with a Monte Carlo method