PE_fun1: Potential energy functions used as examples in _MOSAIC...

View source: R/potential_energy.R

PE_fun1R Documentation

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.


mosaicCalc documentation built on Sept. 11, 2024, 9:10 p.m.