Text this: Study of the Stability Properties for a General Shape of Damped Euler–Bernoulli Beams under Linear Boundary Conditions