Question 119686
Plot {{{C}}} on the y-axis {{{x}}} on the x-axis
The equation, if linear, will be of the form
{{{y = mx + b}}}, {{{m}}} is the slope.
I'm given 2 points on the line, they are:
P1(100, 10000)
P2(300,22000)
Now I need to find the slope, {{{m}}} of the line
connecting these points
{{{m = (y[2] - y[1]) / (x[2] - x[1])}}}
{{{m = (22000 - 10000) / (300 - 100)}}}
{{{m = 12000 / 200}}}
{{{m = 60}}}
So far I have {{{C = 60x + b}}} where {{{b}}} is the y-intercept
The slope-intercept formula is:
{{{m = (y - y[1]) / (x - x[1])}}}
{{{60 = (y - 10000) / (x - 100)}}}
{{{60(x - 100) = y - 1000}}}
{{{60x - 6000 = y - 10000}}}
{{{y = 60x + 4000}}} or,replacing {{{y}}} with {{{C}}},
{{{C = 60x + 4000}}} answer
check:
when {{{x=0}}}, {{{C = 4000}}}
This is a new point, P3(0,4000}. Using this point, do I
still get {{{m=60}}}?
{{{m = (y[2] - y[1]) / (x[2] - x[1])}}}
{{{m = (10000 - 4000) / (100 - 0)}}}
{{{m = 6000 / 100}}}
{{{m = 60}}}
OK