Question #63021

explain why the plot of the function n^c is a straight line with slope c on a log-log scale

Expert's answer

Answer on Question #63021, Programming & Computer Science / Other

Explain why the plot of the function ncn^{\wedge}c is a straight line with slope cc on a log-log scale.

Answer:

Given a power law equation y=ancy = an^c, taking the logarithm of the equation (with any base) yields:


logy=clogn+loga\log y = c \log n + \log a


Setting X=lognX = \log n and Y=logyY = \log y, which corresponds to using a log-log graph, yields the equation of the line:


Y=mX+bY = m X + b


where m=cm = c is the slope of the line (gradient) and b=logab = \log a is the intercept on the (logy)(\log y)-axis.

http://www.AssignmentExpert.com

Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

LATEST TUTORIALS
APPROVED BY CLIENTS