Documentos de Académico
Documentos de Profesional
Documentos de Cultura
Lagrange
Lagrange
#include <cstdlib>
#include <iostream>
cout<<endl;
cout<<"ingrese y: ";
for(int i=0; i<n; i++){
cin>>y[i];
}
cout<<endl;
system("PAUSE");
return EXIT_SUCCESS;
}
/////////////////////////////////////////////////////////////////////////77777
INTERPOLACION DE LAGRANGE EN BORLAND
#include<iostream.h>
#include<conio.h>
void main(){
float x[50],y[50],z,l, valor=0;
int n;
cout<<endl;
cout<<"ingrese y: ";
for(int i=0; i<n; i++){
cin>>y[i];
}
cout<<endl;