1 2 3 4 5 6 7 8 9 10 11
// Force on the conductor due to a uniform magentic field clc; clear; l=0.5; B=0.12; I=15; F=B*I*l; disp('N',F,'The Force on the conductor =')