1 2 3 4 5 6 7 8 9 10 11
//problem 7 pagenumber 4.41 vmin=1e-3;//volt vref=10;//volt q=0.01;format(6); //determine n n=log10(((0.5)/0.01)+1)/log10(2);format(2); disp('N = '+string(n));//no unit