[Tutor] equation solving (was: Re: Tutor Digest, Vol 114, Issue 73)

Alan Gauld alan.gauld at btinternet.com
Thu Sep 5 22:59:59 CEST 2013


On 05/09/13 20:13, I. Alejandro Fleischer wrote:
> Dear Friends,

Hi, please, in future, do not resend the entire digest message
  - it just clutters up inboxes and costs members money on
their bandwidth allowance. Alsao change the subject line
to something relevant (as I've done here).

Also, send new posts direct to tutor at python.org its easier to
work with in threaded readers and archive lists.

Now to your question...

> I have a set of data to fit to a custom equation, y=a+b*exp(k*x), would
> you advice me on the how to, or tutorial?

Can be be more precise? The more specific you are the easier it is
to give specific answers.

Do you have all of the constants and only want a mapping of x and y 
values? Or do you have a subset of x and y and want to find an arbitrary 
set of constants that will make the equation fit?

There are well known mathematical techniques for doing this kind of 
thing. Are you aware of them and need help implementing them in
Python? Or are you starting with no knowledge of how to solve the problem?

It's difficult to know what kind of help you need until we know more 
about you and the problem

-- 
Alan G
Author of the Learn to Program web site
http://www.alan-g.me.uk/



More information about the Tutor mailing list