summaryrefslogtreecommitdiff
path: root/3637/CH4/EX4.11/Ex4_11.sce
blob: 010c9b8eab2d70aa75b34ef21f8f1aacee7a3cd2 (plain)
1
2
3
4
5
6
7
8
9
10
11
//problem 11 pagenumber  4.43
//given
n=12;
vref1=50;//volt
vref2=-50;//volt
r=(vref1-vref2)/(2^n-1);format(6);
disp('Resolution  = '+string(r)+' volt');
r=100/(2^n-1);
disp('Resolution in percent = '+string(r)+'%');