An inverse problem in boundary-layer flows: Numerical determination of pressure gradient for a given wall shear