You can
put this solution on YOUR website!your assumptions and parameters seem good
TR=sqrt(D/16)=(sqrt(D))/4 ... TS=D/1087 ... let x=sqrt(D) ... TT=x/4+x^2/1087
(1/1087)x^2+(1/4)x-TT=0 ... .000919x^2+.25x-TT=0

... remember to square the x to get D
so much for the math, now the reality ... I'm not sure which x value (+ or -) will give the correct D value
...you could try a few known D's and see what happens
...hopefully, it is always the same value
I screwed up the decimal points the first time around ... this should work
2nd edit - the formula works and it is the positive x value that you want
...this is 3-figure accuracy (slide-rule, if you're that old); the question is "can you measure TT that close"?