Surface resistance and introduction to boundary layer theory