I am actually working on grid cells. An each cell (each discrete space element) has a distance x to point A.
Now I'd like to distribute a certain amount of lets say money over the grid cells. So each cell should get
some money (total amount of money M = 10000 $) based on how far it is away from point A (based on x).
The more distant that the cell is the less it money it should get. A second condition is that the maximum
distance to get money is x(max) = 200 m. A cell exceeding x(max) should not get any money any more.
I am looking for a general function of x (f(x)) to describe this based on M, x(max) and 5 cells with different
distances (e.g 2, 10, 30, 50, 150 m).
Is there any way to describe this mathematically as f(x)?