Check the equation 1/2mvsquare=mgh is dimensionally correct or not
Test dimensionally if the equation v2=u2 + 2ax may be correct.