Analytical and numerical study of normal shock response in a uniform duct