metodo de falsa posicion

Upload: carlos-caro-austria

Post on 18-Oct-2015

9 views

Category:

Documents


0 download

TRANSCRIPT

MATERIA: ME TODOS NUMERICOS EQUIPO: CARLOS CARO AUSTRIA Y JESUS PARRA RAMIRREZPROFESOR: ANGEL GARCIA SANCHES.

==METODO DE FALSA POSICION==# include # include # include # include float fdex ( float x){ return pow (x,3)-x-1; } float promedio (float a, float b,float fa,float fb){ return (((b)*(fa))-((a)*(fb)))/(fa-fb); } main(){ printf("\n\n\n ==METODO DE FALSA POSICION=="); printf("\n"); printf("\\\HECHO POR CARLOS CARO AUSTRIA Y JESUS PARRA RAMIREZ////"); int i; float a=1, b=2, fa, fb, x, fx, absoluto; for (i=1;i