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

langrange interpolation and derivative enquiry

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Display Modes
Old   March 15, 2006, 19: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, 23: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, 20: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

Thread Tools
Display Modes

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 On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Two dimensional cubic spline interpolation flappingwing2008 Main CFD Forum 4 November 19, 2007 06:52
help on interpolation Jean-François Main CFD Forum 1 May 28, 2003 12:11


All times are GMT -4. The time now is 12:35.