I have 3 points [x0 y0]
, [x1 y1]
, [x2 y2]
with strict conditional x0<x1<x2
, y0<y1<y2
. All this points lay on some exponentional functions y=ae^(bx)+c
. I need to find a,b,c
... It's not possible to solve system of 3 equations precisely, therefore I need to approximate it. Is there some math library in java that will help me solve this problem? I find something similar on mathcad
https://help.ptc.com/mathcad/en/index.html#page/PTC_Mathcad_Help/exponential_regression.html but not find in java.
Other way - how to solve system of 3 equations and 3 values approximately.
ae^(bx_0)+c=y_0
ae^(bx_1)+c=y_1
ae^(bx_2)+c=y_2