"Finding the function of a parabolic curve between two tangents Alright folks, first question here so let me make the situation and background clear. I'm attempting to start studying for aerospace engineering, so I'm working on improving on my math skills as we speak, but couldn't help ""jumping in"" to some of the design and starting to look at it. I'm not adverse to algebra, although my calculus legs haven't been walked on in awhile, which is why I haven't been able to get farther myself on my own question.

Marlene Brooks

Marlene Brooks

Answered question

2022-10-31

Finding the function of a parabolic curve between two tangents
Alright folks, first question here so let me make the situation and background clear.
I'm attempting to start studying for aerospace engineering, so I'm working on improving on my math skills as we speak, but couldn't help "jumping in" to some of the design and starting to look at it. I'm not adverse to algebra, although my calculus legs haven't been walked on in awhile, which is why I haven't been able to get farther myself on my own question.
Another side reason is that I'm attempting to get the gist of equation-based curves in CAD, so rocket engine nozzle curves are perfect for learning that...if I can figure out the equations!
If the format or my thoughts seem a bit off, I have an idea of the concepts in play here, my math skills have just atrophied a little too much for my own comfort.
What I'm working with is the G.V.R. Rao approximation of a bell nozzle curve; essentially,
f c = { 0.382 R t For divergent throat curve f p Main body
Where f p starts from a point with a tangent of angle θ n and ends at a point with a tangent of angle θ e . f p also has to fit in a region equal to L f 0.382 R t , where L f is the complete distance between the throat and exit plane, so the displacement in the x- or y-axis, depending on how you view the rocket (orientation-wise).
I do know how to differentiate the curve f p to get f p and then find the angle of the slope at a point, but this is backsolving from two slopes to find the region in between.
If it's any help, ideally I'd be constructing the nozzle in CAD vertically, that is, y n > y e
What I'm looking for is help toward the derivation of a formula that allows me to construct a curve that is smooth between the two points. One of the reasons I've had a hard time figuring out the exact parameters is because it feels a lot like curve-fitting, which I haven't had much experience with.
If anyone can help break it down for me, it'd be much appreciated but if the question turns out to be too vague, references to places where I can get the requisite learning would be also appreciated.

Answer & Explanation

Ostrakodec3

Ostrakodec3

Beginner2022-11-01Added 18 answers

I think that I understand that you're doing this in 2D. So I'll tell you how to think about the problem of finding a parametric curve
g ( t ) = ( a t 2 + b t + c , d t 2 + e t + f ) that satisfies four conditions:
g ( 0 ) = A g ( 1 ) = B g ( 0 ) = v g ( 1 ) = w
The short answer: for arbitrary A,B,v,w, this has no solution. If A and B have the same x-coordinate, and v and w have the same y coordinate, for instance, it's generally impossible to solve. Why is this? Think about finding a,b,c: those are three unknowns, but you're placing 4 conditions on them. In general, there will be no solution. Let's see the details. Writing out everything in just the x-coordinates, we get
c = A x a + b + c = B x b = v x 2 a + b = w x
which I got by evaluating the x-coordinate of g at t=0, i.e., a 0 2 + b 0 + c, and setting it to the x-coordinate of A, and similarly for the other 4. Doing a little shuffling, we get
c = A x b = v x a + b + c = B x 2 a + b = w x
and a substitution in the second equation gives
c = A x b = v x a = B x A x v x 2 a + b = w x
The final equation says that 2a+b must be w x . But the first three tell us that 2a+b is
2 a + b = 2 ( B x A x v x ) + v x = 2 B x 2 A x v x
So if we're given a problem in which
2 B x 2 A x v x w x
then there's no hope of solving it.
The good news? If you're willing to use cubics, you CAN solve it, and the solution is unique. The technique is pretty much the same as what I just did here. Pretty much any computer graphics book will describe this under "Bezier curves", although I have a fondness for "Computer Graphics: Principles and Practice, 3rd ed", of which I'm the lead author.

Do you have a similar question?

Recalculate according to your conditions!

New Questions in High school statistics

Ask your question.
Get an expert answer.

Let our experts help you. Answer in as fast as 15 minutes.

Didn't find what you were looking for?