def compute_y(self, coefficients, num_x):
y_vals = []<EOL>for x in range(<NUM_LIT:1>, num_x + <NUM_LIT:1>):<EOL><INDENT>y = sum([c * x ** i for i, c in enumerate(coefficients[::-<NUM_LIT:1>])])<EOL>y_vals.append(y)<EOL><DEDENT>return y_vals<EOL>
Return calculated y-values for the domain of x-values in [1, num_x].