First, notice that the initial velocity is given in yards per second, while gravitational acceleration is usually expressed in feet per second2, and the initial position is given explicitly in feet. Convert 1000 yd/sec into 3000 ft/sec, so that the units agree.
h = -16t2 + 3000t + 40
h(10) = -16(10)2 + 3000(10) + 40
h(10) = -1600 + 30000 + 40 = 28440 ft