Question 1153065

A table of values of a {{{linear}}} {{{function}}} is shown below.  Find the output when the input is {{{n}}}.

Input 1 2 3 4 n
Output 6 5 4 3 ______

linear function:

{{{y=mx+b}}} where {{{m}}} is a slope and {{{b}}} is y-intercept

use two given points to find a slope:

{{{m=(y[2]-y[1])/(x[2]-x[1])}}}

first two points are: ({{{1}}},{{{6}}}) and ({{{2}}},{{{5}}})


{{{m=(5-6)/(2-1)}}}

{{{m=-1/1}}}

{{{m=-1}}}

so far,
 
{{{y=-x+b}}} .....use one point to find {{{b}}}

{{{6=-1+b}}}

{{{6+1=b}}}

{{{b=7}}}

your equation is:{{{y=-x+7}}}

now find next input {{{n}}} (whatever it might be) 

{{{y=-n+7}}}


Input 1 2 3 4 n
Output 6 5 4 3 _-n+7___