Hello, James!

I have a way . . . but it'sreallyugly . . .

The formula is: .

Can anyone tell me how to get as a function of ?

We have: .

.From , we have: .

Substitute: .

Square both sides: .

This simplifies to the quadratic: .

Quadratic Formula: .

. . . Good luck!