Text this: Photoacoustic effect in micro- and nanostructures: numerical simulations of Lagrange equations