summaryrefslogtreecommitdiff
path: root/3637/CH4/EX4.17/Ex4_17.sce
blob: 8a3c42f844a3229740934bb4101d21d170bbc850 (plain)
1
2
3
4
5
6
//problem 17 pagenumber 4.45
//given
vref=10;//volt
vin=100e-3;//volt
v0=vref*vin/10^-3;format(6);
disp('Output voltage = '+string(v0)+' counts');