The function P(n) is varying with n following a linear equation, the general form of a linear equation is:
P(n)=n*m+b
if we want to find the value of P when n equals 35, first we must find the value of m and b, we can do this using the data from the table, like this:
-when n equals o,
P(0)=0*m+b
P(0)=5, then:
5=0*m+b
then, b=5
Now we just have to find m
let's do this using n equals 10
P(10)=25, then
25=m*10+b, but b=5, then:
25=m*10+5
then, solving for m:
m=(25-5)/10=20/10=2
then m=2
Now, we can find P(35), like this:
P(35)=m*35+b=2*35+5
then:
P(35)=70+5=75
The value of P(n) when n=35 is 75