Question: Rewriting a function f(a,b) -> f(x) where x=b/a

Hi!

I have a function of two variables f(a,b)

 f(a,b) =16*b^2/(a+sqrt(a^2+8*b^2))^2

and I need to rewrite it to a function of a single variable

f(x) = 16*x^2/(2+2*sqrt(1+8*x^2)+8*x^2)

where x=b/a. It is easy by hand, just divide by a^2 in both num and denum and rewrite it.

How can I go from f(a,b) to f(x) using Maple commands?

Thanks:)

Please Wait...