Quantitative analysis of drugs in pure form and in pharmaceutical preparations using analytical techniques