It's been 30 yrs since I've done this kind of math and I'm extremely weak on even the basics.
I need a function that is exponential ($y=a*b^x$) but will fit 2 data points. I think I came up with a way to develop a function but I used a calculator's "solver" function to give a decimal result rather than an expression. The problem with this is that the decimal based coefficient of the function causes y to be slightly higher than 1 if x=100,000. What would be the pure function expression for this?
- datapoint 1A) x=100,000 , y=1
- datapoint 2A) x=45,000,000 , y=450
What I did...
$y=a*b^x$
(solving for a)
1=a*b^100000
if... b=1 (because y=1 in the datapoint series and 1 is easy to work with)...
1=a*1^100,000 then a=1//
(then, solving for b)
$y=a*b^x$
450=1*b^4,500,000
(450/1)=b^4,500,000
then using solver, b=1.0000013576115
function that fits both points is: $y=1.0000013576115^x$
But if I substitute x=100,000 into this function, I get 1.1454081746 and not 1, per the original data point. I suspect it's because it would take a large number of decimal levels of precision to make y=1 when x=100,000. What would be the purely expression form of this function?
Also, I need to make a similar exponential function for these 2 data points, which is more difficult to solve because there's no y=1 to start with:
- datapoint 1B) x=100,000 , y=0.05 (5 is repeating)
- datapoint 2B) x=4,500,000 , y=25