The magnetic field B at point P at a distance R due to the wire of finite length carrying current I is