Plot a line graph for the variables $$p$$ and $$q$$ where $$p$$ is two times $$q$$ i.e, the equation is $$p=2q$$. Then find the value of $$q$$ when $$p=8$$.
Given equation is $$p=2q$$
Thus,
for $$q=1\ ,\ \ p=2$$
for $$q=2\ ,\ \ p=4$$
for $$q=3\ ,\ \ p=6$$
for $$q=4\ ,\ \ p=8$$
Now we tabulate the data and the graph is plotted as shown.
Hence, when $$p=8$$ then the value of $$q=4$$