Inner Resonance in Media Governed by Hyperbolic and Parabolic Dynamic Equations. Principle and Examples