If I have this pattern:
1 goes to 40
1000 goes to 1360
10000 goes to 3480
How do I ask Wolfram Alpha what 20,000,000 goes to?
This is my attempt: http://www.wolframalpha.com/input/?i=1-%3E+40%2C+1000-%3E+1360+%2C+10000+-%3E3480%2C+20000000+-%3E+y+
|
If I have this pattern: 1 goes to 40 1000 goes to 1360 10000 goes to 3480 How do I ask Wolfram Alpha what 20,000,000 goes to? This is my attempt: http://www.wolframalpha.com/input/?i=1-%3E+40%2C+1000-%3E+1360+%2C+10000+-%3E3480%2C+20000000+-%3E+y+ |
|||||||||||
|
|
So I am pretty sure that Wolfram cant solve stuff without a formula. So i tried a couple things. . First I tried to Plot it out, which got me part of the way there but did not give me the full graph. http://www.wolframalpha.com/input/?i=plot+1%2F40%2C+1000%2F1360%2C10000%2F3480+ So next i went to a buddy of mine who is more a nerd then i am who has a program on his computer that given a set of numbers will find a formula that can generate more in that set. The program is called Eureqa and the formula it generated that fit the first 3 numbers in the set was 38.574093 + 1.426013*x - 0.00010458704*x*x Plugging 20 000 000 into the equation got a value of -41806295701 and here is your graph of the formula via wolfram http://www.wolframalpha.com/input/?i=plot+38.574093+%2B+1.426013*x+-+0.00010458704*x*x |
|||||
|
|
As Phwd pointed out, the key word in Wolfram|Alpha is "fit", so However, if you want to be more specific, in this case W|A actually accepts the normal Mathematica input (this is not always the case).
Since the data looks logarithmic + corrections, I tried (Aside: you could also try taking the log of the x values first, then a quadratic fit). As expected, with 4 free parameters and 3 data points, we get a very good fit!
The extrapolation up to |
|||||||||||
|
|
You are looking for regression analysis. So first you would need to understand according to your data what you would expect. Is it a wave, is it exponential, quadratic? This type of information leads to better results. On first inspection, one could see a linear regression will not do.
So the next step (within Wolfram's limitation) is a quadratic, which fits but only because there are so little points.
Which agrees with what @Mickey is saying
The same could be achieved for cubic (i.e. no x^3),
Exponential (exponential fit) and Logarithmic (log fit) do not work well. |
|||
|
|