B Magnetic field of a current carrying wire considering its thickness and width 115 C Magnetic field measurement and Hall effect 117 D Matlab codes 119 D.l Matlab codes for Image processing D.2 Matlab codes for generating command signals and transferring the signals to A/D and digital card D.3 Matlab codes for solving the motion equation of the droplet in silicon oil. . 124