Analysis of wave resistance