Static friction of sinusoidal surfaces