A symmetry-preserving difference scheme and analytical solutions of a generalized higher-order beam equation | Synapse