The following warnings occurred:
Warning [2] count(): Parameter must be an array or an object that implements Countable - Line: 795 - File: showthread.php PHP 7.4.33 (FreeBSD)
File Line Function
/showthread.php 795 errorHandler->error





Post Reply 
Finding quadratic function from two points and known max value
08-31-2017, 12:57 PM
Post: #1
Finding quadratic function from two points and known max value
I need to work this into a C# program for generating points along an arc, and the math is making me cross-eyed.

Essentially, I know two points on the parabola, I know the y value of the maximum (but not x), and I know that the second derivative is negative, i.e. the coefficient of x^2 is negative. All the typical approaches of treating it as a system of 3 linear equations seem to rely on having three known points, but I've got two, plus an additional equation 2*a*x_3+b=0 where x_3 is unknown.

Is there a straight-forward way of tackling this without pulling a bunch of numeric and matrix libraries into the program?
Visit this user's website Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
Finding quadratic function from two points and known max value - Dave Britten - 08-31-2017 12:57 PM



User(s) browsing this thread: 1 Guest(s)