Find the rate of change of a given equation.
y = 2x
The rate of change of the equation y=2x is 2. This is because the rate of change is represented by the slope of the line, which is the coefficient of x in the equation.
Complete the following task based on the instruction and optional input provided.### Instruction:
Find the rate of change of a given equation.

### Input:
y = 2x

### Output:
The rate of change of the equation y=2x is 2. This is because the rate of change is represented by the slope of the line, which is the coefficient of x in the equation.