//resistance of a current wire varies as length varies also, varies inversly as the cross section of wire clear clc close //R=the resistance //l=the length //the cross section mprintf("\n R=k*l/A \n ")