find an equation of the line passing through the given points. Write the equation in function notation
(4,5) and (2,9)
f(x)=
could someone help me with this question
8.004+82.5
The cost of travelling in a taxi in the city of Casio is fixed at RM 2 per kilometre plus RM 3 as service charge.
(a) Express the cost of travelling in a taxi, C as a function of distance, x in function notation.
(b) Identify independent variable and dependent variables in (a)
(c) Given that the set of cost, and the set of distance, ,
(i) Represent the function in arrow diagram and order pair
(ii) List the domain, co-domain and the range of the function
(iii) Sketch the graph of the function
(iv) Identify the type of the function
To find the equation of a line passing through two given points, you can use the slope-intercept form of a linear equation, which is y = mx + b, where m represents the slope and b represents the y-intercept.
First, we need to find the slope (m) of the line. The formula to find the slope between two points (x1, y1) and (x2, y2) is:
m = (y2 - y1) / (x2 - x1)
Let's substitute the values from the given points (4,5) and (2,9) into the formula:
m = (9 - 5) / (2 - 4)
m = 4 / (-2)
m = -2
Now that we have the slope (m), we can proceed to find the y-intercept (b) by substituting the values of one of the given points into the equation y = mx + b. Let's use the point (4,5):
5 = -2(4) + b
5 = -8 + b
b = 13
Now we have the slope (m = -2) and the y-intercept (b = 13). Putting it all together, the equation of the line in function notation is:
f(x) = -2x + 13