Closed DK96-OS closed 2 years ago
A Kotlin object containing only functions.
parabola is the general quadratic equation.
parabolicA will solve for the constant of the square for given boundary conditions, and a curve shaping parameter.
parabolicB will solve for the linear term's rate of change, given that A has been solved with the same curve shaping parameter.
calc is a convenience function that solves the quadratic equation for the given boundary conditions and curve shaping parameter, and then evaluates the equation at x
.
One of the greatest problems with this code is the complete disregard for precision in calculations.
The original purpose for which this was developed did not require more than 3 sf of precision in x or y.
Remove Systems
This directory contains old code that doesn't quite fit in MathTools today.