The modified extended tanh method with the Riccati equation for solving(3+1)-dimensional Kadomtsev-Petviashvili (KP) equation