1 2 3 4 5
clc; V=250; //potential difference in Volt C=10^-11; //capacitance in farad q=C*V; //calculating charge disp(q,"Charge in Coulomb = "); //displaying result