weighted mean formula in thesis sample cover letter for human resource job