Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

You can use find_fit to fit an exponential function to this data. (You could also fit a line but it is not a very good fit.) Here is an example:

var('a b c')
model(x) = a*exp(b*x)
data=[[i,lizardsquad(i)[0]] for i in range(25) ]
print fit[a],fit[b]