mirror of
https://bitbucket.org/Mattrixwv/octavefunctions.git
synced 2025-12-06 18:53:57 -05:00
Added Helps for Homework 3.2
This commit is contained in:
7
Nevilles.m
Normal file
7
Nevilles.m
Normal file
@@ -0,0 +1,7 @@
|
||||
function [value] = Nevilles(P0, P1, x0, x1, x)
|
||||
%
|
||||
%Nevilles(P0, P1, x0, x1, x)
|
||||
%This is function to calculate Pn using Nevilles method
|
||||
%
|
||||
value = (((x - x1)/(x0 - x1)) * P0) + (((x - x0)/(x1 - x0)) * P1);
|
||||
end
|
||||
Reference in New Issue
Block a user