You are on the way to sorting it out, however, watch your units, for example, 200mV =0.2V. Additionally, use m, not M, the two are not interchangeable, look up https://en.wikipedia.org/wiki/Metric_prefixWhy have you changed the resistor values in the schematic, 5, 10, 20, and 50K are all doable in real world values, even if you have to use series and parallel combinations, it makes the calculations simpler, and the DAC more accurate.Cheers,Richard