summaryrefslogtreecommitdiff
path: root/3637/CH4/EX4.15/Ex4_15.sce
blob: 12e419a56b771dfd0d3015b8589e884c330f30ec (plain)
1
2
3
4
5
6
7
8
9
10
11
//problem 15 pagenumber  4.44
//given
r=5e-3;//volt
vref=8;//volt
format(3);
//determine N
n=log10(1/(r/vref)+(1))/log10(2);
disp('N = '+string(n));//no unit