If I take a simple piece of conducting wire (of which I can calculate the resistance from the wire dimensions and resistivity of the wire material) and connect it across the terminals of a battery of potential difference V, I can calculate the value of the current from Ohm's Law:
i=V/R, where i is the steady state current.
However, if the cable is long and I need to plot the current against time right from the moment zero, I might have to take into consideration some capacitance and inductance of the circuit.
My question is : Where do the capacitance and inductance come from? Do they come from the loop shape the wire might have taken somewhere along the path and the elemental electric fields that exist inside the wire to drive the flow of charge? Please help with some explanation.