A common problem that may fit your description is called curve fitting : you have some data (which in your case you read from the graph), and you mean the form of the equation, and you want to find what parameters you need to best match the equation on the graph.
A useful approach to this is suitable for least squares error. The Least Squares package will be available in most data analysis toolkits.
Here is an example: let's say the equation is A * sin (2 * pi * 100.x) * x ^ B, and I need to find the values of A and B that give me the best fit (A = 10.0 and B = 3.0 in this example).

Here is the code used to generate this match. It uses Python and Scipy and is modified following the example here .)
from numpy import * from scipy.optimize import leastsq import matplotlib.pyplot as plt def my_func(x, p):
tom10
source share