Text this: Application of boundary element method for the analysis of potential flow field and wave resistance in finite depth of water