Quantcast
Channel: MyClassBook
Viewing all articles
Browse latest Browse all 368

lagrange interpolation MATLAB Program example

$
0
0
lagrange interpolation MATLAB Program example: Question: Given set of values of x and y (5,12),(6,13),(9,14),(11,16) Find the value of x corresponding to y=15 using lagrange interpolation Solution: Tabular the given data: y:  12  13  14  16 x:   5    6    9    11 Applying lagrange interpolation formula, x(y)=(y-13)(y-14)(y-16)*5/(12-13)(12-14)(12-16)+ (y-12)(y-14)(y-16)*6/(13-12)(13-14)(13-16)+ (y-12)(y-13)(y-16)*9/(14-12)(14-13)(14-16)+ (y-12)(y-13)(y-14)*11/(16-12)(16-13)(16-14). By putting y=15 […]

Viewing all articles
Browse latest Browse all 368

Trending Articles