By using a DAC you are generating a analog voltage V which is proportion to corresponding digital voltage D
V≈kD where k is some constant and D can be written as
D=a1*2-1+a2*2-2+_________+an*2-n ................( 1 )
#share-buttons img { width: 35px; padding: 5px; border: 0; box-shadow: 0; display: inline; }