Estimating a Function and Its Derivatives Under a Smoothness Condition