Derive an expression for magnetic field due to a straight current carrying conductor (finitely and infinitely long)

We know that when electric current flows through the straight current-carrying conductor then it creates a magnetic field that encircles the conductor as shown below: Learn more about magnetic field due to straight current-carrying conductor. So it is okay that…