Final answer:
The equation for the height of the rocket as a function of time is y = 18x + 118.
Step-by-step explanation:
In this problem, we are given that the height of the rocket, y, is increasing at a rate of 18 feet per second. We also know that the rocket's height at five seconds is 118 feet. To write an equation for y as a function of time, x, we can use the formula y = mx + b, where m is the rate of change and b is the initial height.
Using the given information, we have the slope (m) = 18 and the initial height (b) = 118.
Therefore, the equation for y as a function of x is:
y = 18x + 118 (Option A)