CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > General Forums > Main CFD Forum

langrange interpolation and derivative enquiry

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   March 15, 2006, 18:44
Default langrange interpolation and derivative enquiry
  #1
zonexo
Guest
 
Posts: n/a
hi,

i was reading a paper which uses one-dimensional Lagrange interpolation. Points A,B,D,E,C,P all lie along a line. Functional values at A,B,D,E are known. Dp/d(line)=0 at C. How can one use these info to get the value at P? I thought langrange interpolation only uses functional values. How do I make use of the dp/d(line)=0 at C?

Thank you
  Reply With Quote

Old   March 15, 2006, 22:03
Default Re: langrange interpolation and derivative enquiry
  #2
Praveen. C
Guest
 
Posts: n/a
You have 5 data. Write a polynomial with 5 degrees of freedom. You get 5 equations for the 5 dof. Solve for them. Then evaluate polynomial at P to get the value there.
  Reply With Quote

Old   March 16, 2006, 19:19
Default Re: langrange interpolation and derivative enquiry
  #3
zonexo
Guest
 
Posts: n/a
hi, thanks. r u taking abt polynomial interpolation? ie y=a0+a1*x+a2*x^2+a3*x^3+a4*x^4+a5*x^5 and differentiate to get dy/dx=a1+2*a2*x ....

however, i'm referring to lagrange interpolation. the author of the paper has given the hint that

dp/dn|_C=a1*p_P+a2*p_B+a3*p_A+a4*p_D+a5*p_E=0

and i'm told to get a1-5 using standard Lagrangian interpolation procedure. So how do I go about it?

thanks
  Reply With Quote

Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Two dimensional cubic spline interpolation flappingwing2008 Main CFD Forum 5 December 22, 2016 21:55
help on interpolation Jean-François Main CFD Forum 1 May 28, 2003 12:11


All times are GMT -4. The time now is 20:38.