The strength of a wooden beam whose cross section is of width w and height h is given by the formula
where k is a positive constant. Consider a 50-cm diameter log pictured below. What is the width and height of the strongest beam that can be cut from this log?