I really should've paid more attention to maths in school...
I have some fairly simple simultaneous equations in the following format.
- VMax = DMax + (DMax - DMin) * GMax
- VMin = DMin - (DMax - DMin) * GMin
Knowns are VMax, VMin, GMax, GMin
Unknowns are DMax, DMin
All values are real numbers
Given the above, how can I re-arrange the equations to solve and determine the values of DMin and DMax?