Fractional approach for multi-dimensional wave-like equations with variable coefficient using an efficient method