Analytical study of pharmaceutical substances: method development and validation study: few case studies