i started to think to maybe do an integral to find the minimum area, and then I thought that the area itself is not sufficient because there is more material depending on the slope. so I thought to do an integral depending on the length instead of x.
##dh^{2}=dx^{2}+dy^{2}##
##\int{}f(x)dh=...