Hello everyone,(adsbygoogle = window.adsbygoogle || []).push({});

I need your help desparately!

I need to figure out a penalty function that computes the penalty w.r.t distance of a point from two boundaries. The function produces a high penalty value if the point is closer to any of the two boundary and the penalty value decreases as the distance from boundaries increases. Two boundary can be viewed as distance from two axis.

Formulation:

Let x be the distance from Y axis and y be the distance from X axis, I need a penalty function

P = f(x,y) having above property

Thanks in advance.

Jason

**Physics Forums - The Fusion of Science and Community**

The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

# Distance function

Loading...

Similar Threads - Distance function | Date |
---|---|

Taylor expansion of the square of the distance function | Sep 28, 2015 |

How to calculate Riemannian Metric by distance function? | Apr 9, 2012 |

Distance from centroid to surface of polyhedron as a function of frequency | Oct 8, 2010 |

Distance Function vs. Metric | Mar 16, 2007 |

Metric (distance Function) | Jul 29, 2006 |

**Physics Forums - The Fusion of Science and Community**