×
INTELLIGENT WORK FORUMS
FOR ENGINEERING PROFESSIONALS

Log In

Come Join Us!

Are you an
Engineering professional?
Join Eng-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!
  • Students Click Here

*Eng-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Jobs

Value between two curves
2

Value between two curves

Value between two curves

(OP)
Hi there,
I have a graph with multiple curves of which I know their respective polynomials. The graph shows on the x-axis the angle of attack of a wing whereas the y-axis gives the lift coefficient for several aspect ratios (hence multiple curves)
How can I find the value in between two "adjacent curves" for a given value of x? I thought of linear interpolation but cannot apply it here because x does not change.

Many thanks

 

RE: Value between two curves

Couldn't you just take each value of 'y' at your 'x' and find their mean?
peace

Fe

RE: Value between two curves

um, linear interpolation.

say you have y1(x) and y2(x), which are values from each of the shown curves.  You want to find y`(x), which is a value at an intermediate point, between the curves y1 and y2, at the given value of x.  

Assuming, as an example, that the curves y1(x) and y2(x) represent lift for angles-of-attack A1 and A2 respectively, and you want lift at A`, use linear interpolation as follows:

A` = y2(x) + (y1(x)-y2(x))*A`/(A1-A2)
alternatively,
(A'-A1)/(A2-A1) = (y`(x)-y1(x))/(y2(x)-y1(x))
 

RE: Value between two curves

umm, you say you know the data's respective polynominals ... substitute in the AoA into the two curves ???

i guess we're missing something ...

RE: Value between two curves

(OP)
Thanks to all for the replies.
The graph I'm referring to is just one of a series of graphs which I have digitised and obtained polynomial expressions for the curves that fit the data. I had originally implemented a "mean" as suggested by FeX32. My only worry is that some curves cross each other
example for a certain value of x (AoA) the curve representing the lift coeff. for aspect-ratio 1.5 is below the one for aspect-ratio 3.5. As x increases the situation is reversed.
Hope this clarifies a bit.

RE: Value between two curves

it is minutely more difficult to find the AoA values on two curves corresponding to the same CL ... (and this is expressly what the OP doesn't ask for ... for a given AoA, what is the difference between two CL curves)

i'd've thought linear interpolation on each of the curves would get you there,  or "goal seek" in excel (y=f(x) ... find "x" for a given "y").

RE: Value between two curves

my apologies, i should read more carefully ... the mean is exactly the answer you want ... the mean is always between the two curves, doesn't matter which is above the other.

if you've got polynominal expressions for teh two curves, you can average the coefficients to obtain the mean curve, so long as you're using the same powers for both curves.

RE: Value between two curves

I misread the original post - substitute "aspect ratios" for "angle of attack" in the description, and use linear interpolation as described.  It doesn't matter which curve is on top.
 

RE: Value between two curves

The mean is a special case of linear interpolation where the interpolated aspect ratio is exactly halfway between the two aspect ratio's you have.  You haven't said you are looking for an aspect ratio  exactly halfway between so it seems appropriate to consider the more general case, and the more general solution is linear interpolation as suggested above.

Lift = f(AoA, AR)
Pick fixed a value of AoA.   Then we have
Lift = f(AR) and apply simple linear interpolation based on aspect ratio AR

You want to interpolate to find lift for some AR between your fixed values AR1 and AR2
Lift = Lift1 + (AR - AR1) * slope where
Slope =   (Lift2-Lift1)/(AR2-AR1)
Again all the above would be computed at the same value of AoA.

(it doesn't matter whether Lift1 or Lift2 is higher, the algebra will give the correct result)

=====================================
Eng-tips forums: The best place on the web for engineering discussions.

RE: Value between two curves

(OP)
Thanks everybody for the valuable suggestions.
I'll implement the solutions posted and take it from there

Cheers  

RE: Value between two curves

Why would one assume linearity of the aspect ratio? It's probably not true
It would seem to me that given several curves with Xp,Yp and aspect ratio ratio, Z, one could write the polynomial

Y= AmnX^nZ^m, where n and m range from 0 to N and M
from which you get the best fit
Standard techniques are available to get the best RMS fit. to wit
Error squared =sum(Y-Yp)^2 summed over p
To get the coefficients, take the partial derivative with respect o Amn to get a set of MN+ N +M linear equations in Amn which solution (resulting in minimizing the error of the fit)
yields the coefficients, Amn

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Eng-Tips Forums free from inappropriate posts.
The Eng-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Eng-Tips forums is a member-only feature.

Click Here to join Eng-Tips and talk with other members!


Resources