To find the equation of the line passing through the points (0,0) and (4,2), we can use the slope-intercept form of the equation for a line, which is:
y = mx + b
where m is the slope of the line and b is the y-intercept.
First, we can find the slope of the line using the two given points:
m = (y2 - y1) / (x2 - x1)
m = (2 - 0) / (4 - 0)
m = 2/4
m = 1/2
So the slope of the line is 1/2.
Next, we can use one of the given points, such as (0,0), and the slope to find the y-intercept, b:
y = mx + b
0 = (1/2)(0) + b
b = 0
So the y-intercept is 0.
Now we have the slope, m, and the y-intercept, b, so we can write the equation of the line:
y = mx + b
y = (1/2)x + 0
y = 1/2 x
Therefore, the equation of the line passing through the points (0,0) and (4,2) is y = 1/2 x