1 2 3 4
clc; r=6.4*10^6; //in m C=r/(9*10^9); //calculating charge disp(C,"Capacitance in Farad = "); //displaying result