Answer:
Explanation:
The principle applied here is the biot - savart law which is an experimentally deduced is an inverse square law. The law is both in vector and in scalar form.
The detailed application of the law and appropriate calculation is as shown in the attached file.