the field at point p2 will be

[i/r - i/2(r
2+a
2/4)
.5]
tell me if the answers are right or not
here the point to be kept in mind is to calculate the current which would have flown throught the cylinder and the cavities if the current is uniformly distributed
rate me if you like the answer