The intensity y y\,y of light from a source is modelled in terms of distance x x\,x by y=pxqy=px^qy=pxq. A plot of log10y\log_{10}ylog10y against log10x\log_{10}xlog10x is a straight line through (1,7)(1,7)(1,7) and (4,1)(4,1)(4,1).
Find the equation of the straight line.
Hence find p p\,p and qqq.