How to draw parabola given two points A(x1,y1) & B(x2,y2)?
Show older comments
Hello, I need to draw the parabola and I have two points First: A(1.2643, 5.6106) Last: B(120, 45).
I have tried varies formulas but the graph is not correct. Specially some formulas assume b=0 in the general parabola formula y = ax^2 + bx + c but in my case it is not zero.
Please tell me how to do it for this specific example.
Accepted Answer
More Answers (1)
Star Strider
on 5 Mar 2015
2 votes
Two points can define a line, but you need at least three to uniquely describe a parabola.
Infinitely many parabolas can be drawn through only two points.
2 Comments
John D'Errico
on 5 Mar 2015
Edited: John D'Errico
on 5 Mar 2015
And it takes 3 DISTINCT points to define a parabola. :) +1 anyway
Shree
on 5 Mar 2015
Categories
Find more on Particle & Nuclear Physics in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!