Methods of theoretical physics