elastic_curve_equation