The beam is made from a plate that has a constant thickness b. If it is simply supported and carries a uniform load w, determine the variation of its depth as a function of x so that it maintains a constant maximum bending stress \sigma_{\text {allow }} throughout its length.