Answer:
The value of q and p is 4 and -24 respectively.
Step-by-step explanation:
Being
, the line x=4 is a vertical asymptote to the graph of f(x). The line r is an asymptote of a function if the graph of the function is infinitely close to the line r. That is, an asymptote is a line to which a function approaches indefinitely, without ever touching it.
Being a rational function that which can be expressed as the quotient of two polynomials, a vertical asymptote occurs when the denominator is 0, that is, where the function is not defined. In this case:
x - q= 0
Solving:
x= q
Being the line x=4 the vertical asymptote, then
<u><em>4=q</em></u>
Then the function f (x) is:

The y intercept is (0,4). This is, x= 0 and y=4. Replacing:

Solving:

4*(-4)= p+8
-16= p+8
-16 - 8= p
<u><em>-24= p</em></u>
<u><em>The value of q and p is 4 and -24 respectively.</em></u>
Answer:
It is difficult to give a specific answer without your scenario but maybe this may help you out a bit.
Let's say you have a line like the one attached:
I labelled certain points b and u so you can use it as a reference. Now all you need to do is count all the points that lie on the same line and are found between.
In this case it would be point d and point e because the rest of the points do not line on the same line. For this problem particular scenario, the answer would be 2.