Behavior of the sandwich beam subjected to bending as a function of the core density