Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations cowski on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

Exponential / Power regression HELP!!!! 1

Status
Not open for further replies.

ganpas

Computer
Joined
Mar 23, 2005
Messages
2
Location
US

Expo Equation: y = c *e ^(b * x)

Does any one know how to calculate c and b for a given set of X and Y values?? When I do trend line in excel, it automatically calculates the value for me. However, if I want to code in ASP/VB I need to know how excel arrive with the values for c and b when X and Y are given.

Power Equation: y=c*x^b

TIA
 
Transform the equations by taking LN or LOG of the variables:

LN(y)=LN(c)+ b*x
and
LN(y)=ln(c)+ b*LN(x)

m777182
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top