In signal processing, the energy E s {\displaystyle E_{s}} of a continuous-time signal x(t) is defined as the area under the squared magnitude of the considered signal i.e., mathematically
And the energy E s {\displaystyle E_{s}} of a discrete-time signal x(n) is defined mathematically as