Write a function describing the relationship of the given variables.
$h$ varies directly with the square of $d$ and when $d=2, h=28$
The function is $h = 7d^2$. So, \(\boxed{h = 7d^2}\).
Step 1 :Given that $h$ varies directly with the square of $d$, we can say that $h = kd^2$ for some constant $k$.
Step 2 :We also know that when $d=2, h=28$. We can use this information to find the value of $k$.
Step 3 :Substitute $d=2$ and $h=28$ into the equation $h = kd^2$, we get $28 = k*2^2$.
Step 4 :Solving for $k$, we get $k = 7.0$.
Step 5 :Now that we have the value of $k$, we can write the function that describes the relationship between $h$ and $d$.
Step 6 :The function is $h = 7d^2$. So, \(\boxed{h = 7d^2}\).