The question is
An object of mass $m$ is allowed to slide down a frictionless ramp of angle $\theta$, and its speed at the bottom is recorded as v. If this same process was followed on a planet with twice the gravitational acceleration as Earth, what would be its final speed?
My idea is to use conservation of energy to solve this. So,
$K_i + U_i = K_f + U_f$
I'm going to plug in what I think I can (and this might be where I'm going wrong):
$0 + mgh = \frac{mv^2}2+0$
Solving for v:
$\sqrt{2gh}=v$
So if $g$ doubles, then v is multiplied by a factor of $\sqrt 2$. However, the answer is that v doubles as well.
Note that the question here is not what the correct solution is, because I have that. My question is where I went wrong.
EDIT: Since you all say that I'm not doing anything wrong, I guess the question becomes what is the book doing wrong?
Here is the solution that the book gives.
The normal fore will cancel out the perpendicular component of gravity, leaving $mg \sin \theta$ as the net force on the object.
$F_{net} = mg \sin \theta = ma$
$a = g \sin \theta$
This shows that $a$ is proportional to $g$. Then, using $v = v_0 + at$ we can see that the final speed is proportional to a. So if this planet has double the value of $g$, the object will experience double the acceleration, leading to double the final speed.