In reply to Rick Wicklin.

That is the exact probability actually, so setting one of the values and finding the other such that the expression evaluates to 0.5 will get the exact median.