PE_fun1: Potential energy functions used as examples in MOSAIC Calculus.
Description
These appear in the "Optimization & constraint" chapter.
Usage
PE_fun1(x1, y1)PE_fun2(x1, y1, x2, y2, x3, y3)
Arguments
- x1, y1, x2, y2, x3, y3
coordinates of the masses.