MasterOfRa
New Member
- Reaction score
- 10
[Solved]Looking for Equation for pattern
Found A site that does it.
http://zunzun.com/
I have a set of data, That I want to find the approximate equation to generate it, as in If I plug in X, I would get something reasonably close (+-20%) to y. The data is from total values of units spawned in waves for a game, and I am trying to make a system that generates waves randomly, So I need a method to get values reasonably close to what was already there. The values are from (1 - 41 x), you had this value for (y)
I am looking for a method to determine the equation, Not the equation itself, Being that I may have this problem in the future again, And being able to do it would help.
Found A site that does it.
http://zunzun.com/
I have a set of data, That I want to find the approximate equation to generate it, as in If I plug in X, I would get something reasonably close (+-20%) to y. The data is from total values of units spawned in waves for a game, and I am trying to make a system that generates waves randomly, So I need a method to get values reasonably close to what was already there. The values are from (1 - 41 x), you had this value for (y)
I am looking for a method to determine the equation, Not the equation itself, Being that I may have this problem in the future again, And being able to do it would help.
Code:
245
699
554
2000
1302
1340
2930
6075
10280
5200
3320
4960
9200
10955
5495
35915
20945
6265
35795
86195
22435
27185
36695
30135
51195
156245
126000
56045
105695
39415
120000
126000
72000
101000
110700
210000
240000
252000
492850
492850
594300