solve c=(t*a)/d for a where f=0.001, t=0.999, c=0.19, d=(f*(1-a)+t*a)