Sunteți pe pagina 1din 35

Lista de Exercícios 3

Por

André Luis Pereira Muniz

Universidade do Estado do Rio de Janeiro

Instituto Politécnico

Pós-Graduação em Modelagem Computacional

Métodos Numéricos 2008/1

Prof. Antônio J. Silva Neto

Nova Friburgo RJ

2008
1- RESUMO

Este trabalho tem como objetivo principal a utilização dos métodos da Bisseção e de
Newton no cálculo de autovalores. Julgou-se não mais ser necessário a apresentação da
descrição teórica dos dois Métodos, uma vez que o mesmo foi realizado no trabalho
anterior. Novamente as velocidades de convergência dos Métodos foram comparadas. Os
dados obtidos a partir do algoritmo desenvolvido (anexo) são dispostos em tabelas e
gráficos. O desenvolvimento do trabalho seguiu os itens sugeridos na Lista de Exercícios
3. Em sua parte final algumas conclusões são apresentadas em função dos resultados
encontrados na execução do algoritmo.

2-INTRODUÇÃO

Dando prosseguimento à utilização dos Métodos para encontrar raízes (zeros) de uma
equação, os resultados aqui obtidos foram feitos a partir de cálculos das funções propostas
na Lista de Exercícios 3 (três), cujos itens sugeridos foram utilizados na organização do
desenvolvimento desse trabalho. Todas as tabelas e gráficos, bem como a listagem gerada
pela execução do algoritmo proposto encontram-se em forma de anexo.

3- DESENVOLVIMENTO

(i) e (ii) O algoritmo utilizado encontra-se em anexo.

Critério de parada
while ((erro >= (1/(pow(10,precisao))) || fabs(fxa(xa)) >= (1/(pow(10,precisao))))
&& k<= maxiter && fabs(fxa(xa))!=0 ) {

A precisão utilizada (tol) foi de 10 -6

Foi utilizado o cálculo do erro relativo:


error= (x1-x0)/x0;

(iii)

H2 Β1 Β2 Β3
Bisseção Newton Bisseção Newton Bisseção Newton
0 0 0 3.141593 3.141593 6.283185 6.283185
0.5 0.653271 0.653271 3.292310 3.292310 6.361620 6.361620
1.0 0.860334 0.860334 3.425619 3.425619 6.437298 6.437298
10.0 1.428870 1.428870 4.305801 4.305801 7.228110 7.228110
100.0 1.555245 1.555245 4.665765 4.665765 7.776374 7.776374
H2 Β4 Β5 Β6
Bisseção Newton Bisseção Newton Bisseção Newton
0 9.424778 9.424778 12.56637 12.56637 15.70796 15.707963
1 1 3
0.5 9.477486 9.477486 12.60601 12.60601 15.73971 15.739719
3 3 9
1.0 9.529334 9.529334 12.64528 12.64528 15.77128 15.771285
7 7 5
10.0 10.20026 10.20026 13.21418 13.21418 16.25936 16.259361
3 3 6 6 1
100.0 10.88713 10.88713 13.99809 13.99809 17.10930 17.109307
0 0 0 0 7
Tabela 1
(iv)

Em relação à convergência do método da bisseção:


A convergência deste método é garantida desde que:
i) f(x) contínua em [a,b], com a<b;
ii) f(a).f(b)<0
Quando H2=10.0, ao utilizarmos como intervalo [10,14], foi obtido convergência com
π π
raiz=13.214186. No entanto, 10 < + 3π <14. Sabemos que tangente de + kπ não é
2 2
determinada. Portanto vemos que (i) não é necessário para a convergência e sim para que
a garantia da convergência seja assegurada.
Ao utilizarmos o intervalo [1,2] a convergência não ocorre, mesmo que a raiz=1.428870
π
pertença a este intervalo. Novamente (i), pois a função não é definida em ≅ 1.5708 .
2
Portanto a convergência não é garantida e nesse caso ela não ocorre.

No gráfico abaixo foram traçadas as funções: tan(x), xtan(x),xtang(x)-0.5, xtang(x)-1.0,


xtang(x)-10.0, xtang(x)-100.0.

Podemos notar que as


raízes estão entre os
intervalos compreendidos
entre as assíntotas verticais
definidas em
π
x = + kπ , k ∈ Ζ , o que
2
facilita a definição dos
valores utilizados para as
estimativas iniciais para o
Método de Newton e
Método da Bisseção.

As assíntotas no intervalo
[0,18] são respectivamente:

π 3π 5π 7π 9π 11π
≅ 1.5708 , ≅ 4.7124 , ≅ 7.8540 , ≅ 10.9956 , ≅ 14.1372 , ≅ 17.2787
2 2 2 2 2 2

Em relação à velocidade de convergência, a média de iterações no Método da Bisseção


era em média 20 (vinte) iterações, enquanto no Método de Newton cerca de 6(seis)
iterações. Para maior exatidão desses números, as tabelas de iterações obtidas encontram-
se em anexo.
(v)

Estimativa inicial (x0)=15.0


Intervalo inicial [xa,xb]=[16.0.16.5]
Iteração Estimativa Diferença Estimativa Diferença
Bisseção Newton
1 16.2500 0.0094 15.9087 0.3507
2 16.3750 0.1156 16.3120 0.0526
3 16.3125 0.0531 16.2613 0.0019
4 16.2812 0.0219 16.2594 0.0000
5 16.2656 0.0062
6 16.2578 0.0016
7 16.2617 0.0023
8 16.2598 0.0004
9 16.2588 0.0006
10 16.2593 0.0001
11 16.2595 0.0001
12 16.2594 0.0000
Tabela 2

(vi)

Fica clara a diferença de velocidade de convergência entre os métodos acima utilizados.


Enquanto a convergência pelo método da Bisseção é linear, o que podemos observar na
tabela acima, onde as diferenças obtidas nas 5 a, 6 a e 7 a iterações são de mesma ordem,
podemos notar que os diferenças obtidas em Newton são respectivamente na ordem de
10-1,10-2,10-4 nas 2 a,3 a e 4 a iterações.
No entanto, devemos considerar que para o método de Newton faz-se necessário o cálculo
da derivada da função em questão, o que nem sempre poderá ser facilmente obtido.

4- CONCLUSÃO

Novamente os critérios de convergência foram testados. Conforme observado no item


(iv), o Método da Bisseção poderá convergir mesmo que o critério f(x) contínua em [a,b],
com a<b, não aconteça. No entanto o não cumprimento desse requisito não garante a
convergência.
Pode-se concluir também, através dos itens (v) e (vi) a diferença na velocidade de
convergência dos Métodos da Bisseção e Newton.
Concluímos também que a definição das estimativas iniciais (Newton e Bisseção) é
facilitada em funções periódicas, pois existe continuidade dessas funções no intervalo
compreendido entre as assíntotas verticais.

5- BIBLIOGRAFIA

Stark,Peter, Introdução aos métodos numéricos- Rio de Janeiro:Interciência,1979.


Cunha, Cristina, Métodos numéricos – Campinas SP:Editora da Unicamp,2003.
Ruggiero, Márcia A. Gomes, Cálculo numérico:aspectos teóricos e computacionais – São
Paulo: MAKRON Books,1996.
Neto,Antonio Jose da Silva, Velho,Haroldo Fraga de Campos,Aplicações de Métodos
numéricos com aplicações em modelagem computacional
ANEXO A

Algoritmo

/*Terceiro trabalho de Métodos Numéricos


Método de Newton/Bissecao
André luis Pereira Muniz - 18/05/2008*/

#include <stdio.h>
#include <math.h>
int k,maxiter,precisao,precisaodemudanca;
float a,b,c,delta;
double xinicial,xfinal,raiz,raiz2,derivada,xini,erro,comp;
double fxa (double xi);
double funcaoderivada (double xd);
double funcaoerro(double x0,double x1);
double fnovo,fantigo,dnovo,dantigo,ftemp,limite;
double fl,fn,flantigo,passo;
int funcaonewton(double xa);
int funcaobissecao(double xa,double xb);

int main() {
maxiter=150; // número máximo de iterações
char ch;

printf ("1.Método Newton\n");


printf ("2.Método Bisseção\n");
printf ("Pressione qualquer outra tecla para abandonar\n");
ch=getchar(); /*Lê do teclado a opção */
//***********************************
//Inicio do Cálculo por Força Bruta
//***********************************
printf("\n****************Método Força Bruta****************\n");
fl=-1;
fn=19;
passo=0.01;
limite=0.01;
fantigo= fxa(fl);
if (fantigo == 0) {
printf("\nEncontrado raiz em x= %f",fl);
}
dantigo=funcaoderivada(fl);
flantigo=fl;
fl=fl+passo;
while (fl<=fn) {
//printf("\nfl=%f",fl);
fnovo= fxa(fl);
dnovo=funcaoderivada(fl);
if (fl==1) printf("\nraiz em x= %f é %f",fl,fnovo);
if (fnovo == 0) {
printf("\nEncontrado raiz em x= %f",fl);
}
if ((fantigo*fnovo) <0) {
printf("\nRaiz entre x0= %f e x1=%f",flantigo,fl);
}
if ((fantigo*fnovo) >0) {
if ((dantigo*dnovo) <=0) {
ftemp=fnovo;
if (ftemp < 0) ftemp=ftemp *-1;
if (ftemp < limite) {
printf("\nPossível raiz em x= %f",fl);
}
}
}
flantigo=fl;
fl=fl+passo;
fantigo=fnovo;
dantigo=dnovo;
}
printf("\n************************************************\n");
//************************************
//Fim Cálculo por Força Bruta
//************************************

switch(ch) {
case '1' :
printf ("\nDigite estimativa inicial para a raiz:");
scanf ("%lf",&xinicial);
//xinicial=-5.0;
//printf ("\nDigite a precisao:");
//scanf ("%d",&precisao);
precisao=6;
erro=2;
funcaonewton(xinicial);
printf ("\n**********************************************************\n");
break;
case '2' :
printf ("\nDigite limite inferior:");
scanf ("%lf",&xinicial);
//xinicial=-5.0;
printf ("\nDigite limite superior:");
scanf ("%lf",&xfinal);
//xinicial=-5.0;
//printf ("\nDigite a precisao:");
//scanf ("%d",&precisao);
precisao=6;
erro=2;
funcaobissecao(xinicial,xfinal);
printf ("\n**********************************************************\n");
break;
default :
printf ("\nNenhuma opção selecionada.");
}
return(0);
}
int funcaonewton(double xa) {
double xt;
printf("\n****************Método Newton****************\n");
printf("\n**************************************");
printf("\nf(x)=xtan(x)-100******ntol=10^-6");
printf("\n**************************************");
printf("\nValor de xinicial= %02.12f",xa);
k=1;
while ((erro >= (1/(pow(10,precisao))) || fabs(fxa(xa)) >= (1/(pow(10,precisao)))) &&
k<= maxiter && fabs(fxa(xa))!=0 ) {
xt=xa;
if (funcaoderivada(xt) !=0) {
xa=xt-(fxa(xt)/funcaoderivada(xt));
erro=funcaoerro(xt,xa);

printf("\nIter=%d***x%d=%.12f***Erro=%.12f***fx%d=%.12f",k,k,xa,erro,k,fxa(xa));
//printf("\nIter=%d***x%d=%.4f***Diferença=%.4f",k,k,xa,fabs(xa-16.2594));
++k;
}
else {
printf("\nErro- Derivada nula em x=%f",xt);
k=1000;
}
}
if (k<=maxiter) printf("\nraiz em x= %f",xa);
else printf("\nRaiz não encontrada");
return (0);
}
int funcaobissecao(double xa,double xb) {
double xc;
printf("\n****************Método Bisseção****************\n");
printf("\n**************************************");
printf("\nf(x)=xtan(x)-100******ntol=10^-6");
printf("\n**************************************");
printf("\nValor de limite intervalo= %02.12f",xa);
printf("\nValor de limite intervalo= %02.12f",xb);
xc=(xa+xb)/2;

k=1;
while ((erro >= (1/(pow(10,precisao))) || fabs(fxa(xc)) >= (1/(pow(10,precisao)))) &&
k<= maxiter && fabs(fxa(xc))!=0 ) {
if (fxa(xc)*fxa(xb) <0) {
xa=xc;
}
else xb=xc;
erro=funcaoerro(xa,xb);
printf("\nIter=%d***x%d=%.12f***Erro=%.12f***fx%d=%.12f",k,k,xc,erro,k,fxa(xc));
//printf("\nIter=%d***x%d=%.4f***Diferença=%.4f",k,k,xc,fabs(xc-16.2594));
++k;
xc=(xa+xb)/2;
}
if (k<=maxiter) printf("\nraiz em x= %f",xc);
else printf("\nRaiz não encontrada");
return (0);
}

double fxa (double xi) {


double func;
//func=pow(xi,2)-(5*xi)+4;
//func=pow(xi,2)+0.96*xi-2.08;
//func=pow(xi,2)-xi;
//func=pow(xi,2);
//func=3*pow(xi,3)-(pow(xi,2))-4*xi+5;
//func=xi*tan(xi)-100;
func=pow(xi,2)-0.35*xi-0.045;
return(func);
}
double funcaoderivada (double xd) {
double derivada;
//derivada=(2*xd) -5;
//derivada=2*xd+0.96;
//derivada=2*xd-1;
//derivada=2*xd;
//derivada=9*pow(xd,2)-2*xd-4;
//derivada=tan(xd)+xd*(pow((1/cos(xd)),2));
derivada=2*xd-0.35;
return(derivada);
}
double funcaoerro(double x0,double x1) {
double error;
error= (x1-x0)/x0;
if (error <0) {
error=-1*error;
}
return(error);
}
ANEXO C
Gráficos

Função tangente e suas assíntotas

função tangente e funções propostas na lista de exercícios 3


ANEXO D

Listagem das funções

****************Método Newton****************

f(x)=xtan(x)******ntol=10^-6
Valor de xinicial= 0.000000000000
raiz em x= 0.000000
**********************************************************
Valor de xinicial= 2.000000000000
Iter=1***x1=2.466701453866***Erro=0.233350726933***fx1=-1.973969086419
Iter=2***x2=3.074803143556***Erro=0.246524235325***fx2=-0.205670507377
Iter=3***x3=3.142868293987***Erro=0.022136425408***fx3=0.004009171934
Iter=4***x4=3.141593172525***Erro=0.000405719026***fx4=0.000001630282
Iter=5***x5=3.141592653590***Erro=0.000000165182***fx5=0.000000000000
raiz em x= 3.141593
**********************************************************
Valor de xinicial= 6.000000000000
Iter=1***x1=6.280844243608***Erro=0.046807373935***fx1=-0.014703882518
Iter=2***x2=6.283186171531***Erro=0.000372868333***fx2=0.000005430883
Iter=3***x3=6.283185307180***Erro=0.000000137566***fx3=0.000000000001
raiz em x= 6.283185
**********************************************************
Valor de xinicial= 8.000000000000
Iter=1***x1=8.146589381401***Erro=0.018323672675***fx1=-27.042173980725
Iter=2***x2=8.432470989587***Erro=0.035092183342***fx2=-12.913204423834
Iter=3***x3=8.916547557614***Erro=0.057406253591***fx3=-4.966853486426
Iter=4***x4=9.362956755473***Erro=0.050065251710***fx4=-0.579567802561
Iter=5***x5=9.425029372536***Erro=0.006629595616***fx5=0.002369563338
Iter=6***x6=9.424777967486***Erro=0.000026674193***fx6=0.000000063304
Iter=7***x7=9.424777960769***Erro=0.000000000713***fx7=-0.000000000000
raiz em x= 9.424778
**********************************************************
Valor de xinicial= 11.000000000000
Iter=1***x1=11.004427435945***Erro=0.000402494177***fx1=-1242.963458664774
Iter=2***x2=11.013287249155***Erro=0.000805113511***fx2=-621.699277459558
Iter=3***x3=11.031025028201***Erro=0.001610579897***fx3=-311.034504334984
Iter=4***x4=11.066560179110***Erro=0.003221382493***fx4=-155.636078813651
Iter=5***x5=11.137763040151***Erro=0.006434055378***fx5=-77.802229140601
Iter=6***x6=11.279832408547***Erro=0.012755646523***fx6=-38.607057263822
Iter=7***x7=11.555604805319***Erro=0.024448270753***fx7=-18.430225426042
Iter=8***x8=12.023907609865***Erro=0.040526031518***fx8=-7.247802066954
Iter=9***x9=12.482920533367***Erro=0.038175020833***fx9=-1.044125589825
Iter=10***x10=12.566540144589***Erro=0.006698721745***fx10=0.002130408458
Iter=11***x11=12.566370616649***Erro=0.000013490423***fx11=0.000000028781
Iter=12***x12=12.566370614359***Erro=0.000000000182***fx12=-0.000000000000
raiz em x= 12.566371
*****************
Valor de xinicial= 15.000000000000
Iter=1***x1=15.510840015037***Erro=0.034056001002***fx1=-3.097775584398
Iter=2***x2=15.705304187542***Erro=0.012537307607***fx2=-0.041761765072
Iter=3***x3=15.707963705698***Erro=0.000169338850***fx3=0.000006876147
Iter=4***x4=15.707963267949***Erro=0.000000027868***fx4=0.000000000000
raiz em x= 15.707963
**********************************************************
**************************************
f(x)=xtan(x)-0.5******ntol=10^-6
**************************************
Valor de xinicial= 1.000000000000
Iter=1***x1=0.787793836613***Erro=0.212206163387***fx1=0.291577501463
Iter=2***x2=0.675127607371***Erro=0.143014865065***fx2=0.040530337628
Iter=3***x3=0.653891180793***Erro=0.031455426124***fx3=0.001117734060
Iter=4***x4=0.653271694435***Erro=0.000947384483***fx4=0.000000913893
Iter=5***x5=0.653271187095***Erro=0.000000776614***fx5=0.000000000001
raiz em x= 0.653271
**********************************************************
Valor de xinicial= 1.570800000000
Iter=1***x1=1.570803673218***Erro=0.000002338438***fx1=-213819.341326132417
Iter=2***x2=1.570811019693***Erro=0.000004676889***fx2=-106910.045660130825
Iter=3***x3=1.570825712796***Erro=0.000009353833***fx3=-53455.397824832202
Iter=4***x4=1.570855099623***Erro=0.000018707885***fx4=-26728.073902304634
Iter=5***x5=1.570913875749***Erro=0.000037416644***fx5=-13364.411930907811
Iter=6***x6=1.571031437897***Erro=0.000074836787***fx6=-6682.580924932075
Iter=7***x7=1.571266601776***Erro=0.000149687570***fx7=-3341.665381367985
Iter=8***x8=1.571737087878***Erro=0.000299431110***fx8=-1671.207528291024
Iter=9***x9=1.572678693548***Erro=0.000599085991***fx9=-835.978438565730
Iter=10***x10=1.574564439450***Erro=0.001199066223***fx10=-418.363564941374
Iter=11***x11=1.578346074978***Erro=0.002401702613***fx11=-209.555461005623
Iter=12***x12=1.585949962916***Erro=0.004817630340***fx12=-105.150036010004
Iter=13***x13=1.601320511688***Erro=0.009691698434***fx13=-52.944419263776
Iter=14***x14=1.632714633323***Erro=0.019605145507***fx14=-26.835144629754
Iter=15***x15=1.698121508622***Erro=0.040060200334***fx15=-13.764737355023
Iter=16***x16=1.839293792022***Erro=0.083134382718***fx16=-7.184909016824
Iter=17***x17=2.158607720316***Erro=0.173606810222***fx17=-3.739253394519
Iter=18***x18=2.836146199064***Erro=0.313877538920***fx18=-1.394276602040
Iter=19***x19=3.333602871683***Erro=0.175398811522***fx19=0.148069787830
Iter=20***x20=3.293080173167***Erro=0.012155826616***fx20=0.002711932963
Iter=21***x21=3.292310280037***Erro=0.000233791189***fx21=0.000000910848
Iter=22***x22=3.292310021282***Erro=0.000000078594***fx22=0.000000000000
raiz em x= 3.292310
**********************************************************
Valor de xinicial= 1.600000000000
Iter=1***x1=1.630000784909***Erro=0.018750490568***fx1=-27.999548448551
Iter=2***x2=1.692402175103***Erro=0.038283043034***fx2=-14.348441978353
Iter=3***x3=1.826716272126***Erro=0.079362990074***fx3=-7.481326812643
Iter=4***x4=2.129774618050***Erro=0.165903348291***fx4=-3.904767735537
Iter=5***x5=2.783384057814***Erro=0.306891365042***fx5=-1.541984924873
Iter=6***x6=3.334269736192***Erro=0.197919391265***fx6=0.150507269287
Iter=7***x7=3.293105685512***Erro=0.012345747026***fx7=0.002801800683
Iter=8***x8=3.292310297471***Erro=0.000241531283***fx8=0.000000972216
Iter=9***x9=3.292310021282***Erro=0.000000083889***fx9=0.000000000000
raiz em x= 3.292310
**********************************************************

Valor de xinicial= 2.000000000000


Iter=1***x1=2.520098815365***Erro=0.260049407682***fx1=-2.304810632717
Iter=2***x2=3.264431937935***Erro=0.295358704997***fx2=-0.096970303924
Iter=3***x3=3.292640239786***Erro=0.008641105830***fx3=0.001162574035
Iter=4***x4=3.292310068834***Erro=0.000100275441***fx4=0.000000167388
Iter=5***x5=3.292310021282***Erro=0.000000014443***fx5=0.000000000000
raiz em x= 3.292310
**********************************************************
Valor de xinicial= 4.712400000000
Iter=1***x1=4.712411019654***Erro=0.000002338438***fx1=-213819.341306130693
Iter=2***x2=4.712433059078***Erro=0.000004676889***fx2=-106910.045619588127
Iter=3***x3=4.712477138389***Erro=0.000009353833***fx3=-53455.397743205671
Iter=4***x4=4.712565298867***Erro=0.000018707885***fx4=-26728.073738334373
Iter=5***x5=4.712741627242***Erro=0.000037416643***fx5=-13364.411602664990
Iter=6***x6=4.713094313656***Erro=0.000074836781***fx6=-6682.580268246976
Iter=7***x7=4.713799805050***Erro=0.000149687519***fx7=-3341.664067513349
Iter=8***x8=4.715211261414***Erro=0.000299430698***fx8=-1671.204898753447
Iter=9***x9=4.718036062861***Erro=0.000599082690***fx9=-835.973172233770
Iter=10***x10=4.723693175716***Erro=0.001199039765***fx10=-418.353003259204
Iter=11***x11=4.735037078038***Erro=0.002401490084***fx11=-209.534221414043
Iter=12***x12=4.757840620506***Erro=0.004815916347***fx12=-105.107090648082
Iter=13***x13=4.803885904102***Erro=0.009677769238***fx13=-52.856655049806
Iter=14***x14=4.897515313607***Erro=0.019490348308***fx14=-26.652077653018
Iter=15***x15=5.088972791516***Erro=0.039092777796***fx15=-13.368589286348
Iter=16***x16=5.469829995462***Erro=0.074839701360***fx16=-6.284552434496
Iter=17***x17=6.066671984094***Erro=0.109115272161***fx17=-1.834432622540
Iter=18***x18=6.365428116906***Erro=0.049245473234***fx18=0.024694216757
Iter=19***x19=6.361623801594***Erro=0.000597652702***fx19=0.000022092109
Iter=20***x20=6.361620392068***Erro=0.000000535952***fx20=0.000000000018
raiz em x= 6.361620
**********************************************************
Valor de xinicial= 4.700000000000
Iter=1***x1=4.687661136165***Erro=0.002625290178***fx1=189.031509771178
Iter=2***x2=4.663137888075***Erro=0.005231446424***fx2=94.104335627135
Iter=3***x3=4.614736658845***Erro=0.010379540642***fx3=46.606495574921
Iter=4***x4=4.520710941085***Erro=0.020375099320***fx4=22.795368234645
Iter=5***x5=4.344977397496***Erro=0.038872988315***fx5=10.788929994208
Iter=6***x6=4.047544865535***Erro=0.068454333533***fx6=4.663368537077
Iter=7***x7=3.655995029571***Erro=0.096737614769***fx7=1.566195908365
Iter=8***x8=3.365359411168***Erro=0.079495627333***fx8=0.265881398132
Iter=9***x9=3.294782077970***Erro=0.020971707498***fx9=0.008711318891
Iter=10***x10=3.292312691292***Erro=0.000749484069***fx10=0.000009398748
Iter=11***x11=3.292310021285***Erro=0.000000810982***fx11=0.000000000011
raiz em x= 3.292310
**********************************************************

Valor de xinicial= 5.000000000000


Iter=1***x1=5.296169209212***Erro=0.059233841842***fx1=-8.517395330525
Iter=2***x2=5.831209228342***Erro=0.101023966190***fx2=-3.331020468530
Iter=3***x3=6.326885015468***Erro=0.085003944759***fx3=-0.223340839301
Iter=4***x4=6.361876552401***Erro=0.005530610537***fx4=0.001659893777
Iter=5***x5=6.361620407360***Erro=0.000040262498***fx5=0.000000099099
Iter=6***x6=6.361620392066***Erro=0.000000002404***fx6=-0.000000000000
raiz em x= 6.361620
**********************************************************
Valor de xinicial= 8.000000000000
Iter=1***x1=8.147936767448***Erro=0.018492095931***fx1=-27.415287367954
Iter=2***x2=8.440352255704***Erro=0.035888286397***fx2=-13.205405410743
Iter=3***x3=8.947069521427***Erro=0.060035085074***fx3=-5.131912694194
Iter=4***x4=9.421047776715***Erro=0.052975810030***fx4=-0.535142405182
Iter=5***x5=9.477872339747***Erro=0.006031660637***fx5=0.003695142615
Iter=6***x6=9.477485728986***Erro=0.000040790881***fx6=0.000000225201
Iter=7***x7=9.477485705421***Erro=0.000000002486***fx7=-0.000000000000
raiz em x= 9.477486
**********************************************************
Valor de xinicial= 11.000000000000
Iter=1***x1=11.004428326613***Erro=0.000402575147***fx1=-1243.338517445396
Iter=2***x2=11.013292596489***Erro=0.000805518434***fx2=-622.011912922672
Iter=3***x3=11.031050010906***Erro=0.001612361994***fx3=-311.315987932178
Iter=4***x4=11.066667446953***Erro=0.003228834609***fx4=-155.901964626174
Iter=5***x5=11.138207300974***Erro=0.006464444185***fx5=-78.059688620733
Iter=6***x6=11.281632612347***Erro=0.012876875739***fx6=-38.856575593021
Iter=7***x7=11.562609993211***Erro=0.024905737540***fx7=-18.657526796399
Iter=8***x8=12.047143018027***Erro=0.041905160262***fx8=-7.385383942604
Iter=9***x9=12.526375584520***Erro=0.039779769010***fx9=-1.001260066060
Iter=10***x10=12.606435285083***Erro=0.006391290124***fx10=0.005343096153
Iter=11***x11=12.606013465432***Erro=0.000033460661***fx11=0.000000267958
Iter=12***x12=12.606013444275***Erro=0.000000001678***fx12=0.000000000000
raiz em x= 12.606013
**********************************************************
Valor de xinicial= 15.000000000000
Iter=1***x1=15.530732692344***Erro=0.035382179490***fx1=-3.281706966545
Iter=2***x2=15.737782358572***Erro=0.013331609675***fx2=-0.030574499092
Iter=3***x3=15.739719708099***Erro=0.000123101812***fx3=0.000005558644
Iter=4***x4=15.739719356005***Erro=0.000000022370***fx4=0.000000000000
raiz em x= 15.739719
**********************************************************
**************************************
f(x)=xtan(x)-1******ntol=10^-6
**************************************
Valor de xinicial= 1.000000000000
Iter=1***x1=0.888136475710***Erro=0.111863524290***fx1=0.092324625844
Iter=2***x2=0.861464618201***Erro=0.030031260103***fx2=0.003608366844
Iter=3***x3=0.860335476829***Erro=0.001310722865***fx3=0.000006012714
Iter=4***x4=0.860333589025***Erro=0.000002194265***fx4=0.000000000017
Iter=5***x5=0.860333589019***Erro=0.000000000006***fx5=-0.000000000000
raiz em x= 0.860334
**********************************************************
Valor de xinicial= 8.000000000000
Iter=1***x1=8.149284153495***Erro=0.018660519187***fx1=-27.789521643804
Iter=2***x2=8.448326506608***Erro=0.036695536378***fx2=-13.499988451470
Iter=3***x3=8.978496734831***Erro=0.062754467149***fx3=-5.296001918779
Iter=4***x4=9.480223163075***Erro=0.055880894437***fx4=-0.473827817288
Iter=5***x5=9.529761201668***Erro=0.005225408489***fx5=0.004157028567
Iter=6***x6=9.529334443228***Erro=0.000044781651***fx6=0.000000368789
Iter=7***x7=9.529334405362***Erro=0.000000003974***fx7=-0.000000000000
raiz em x= 9.529334
**********************************************************
Valor de xinicial= 11.000000000000
Iter=1***x1=11.004429217281***Erro=0.000402656116***fx1=-1243.713601359628
Iter=2***x2=11.013297945258***Erro=0.000805923488***fx2=-622.324611213772
Iter=3***x3=11.031075013723***Erro=0.001614145786***fx3=-311.597603398944
Iter=4***x4=11.066774916381***Erro=0.003236303136***fx4=-156.168116664318
Iter=5***x5=11.138653350249***Erro=0.006494975674***fx5=-78.317676342123
Iter=6***x6=11.283447711598***Erro=0.012999269911***fx6=-39.107100120618
Iter=7***x7=11.569729222858***Erro=0.025371811753***fx7=-18.886368339985
Iter=8***x8=12.071020701885***Erro=0.043327848852***fx8=-7.521729333842
Iter=9***x9=12.570660633101***Erro=0.041391688703***fx9=-0.946071299453
Iter=10***x10=12.645893842198***Erro=0.005984825404***fx10=0.007767548497
Iter=11***x11=12.645287281841***Erro=0.000047965005***fx11=0.000000742397
Iter=12***x12=12.645287223857***Erro=0.000000004585***fx12=0.000000000000
raiz em x= 12.645287
**********************************************************
Valor de xinicial= 15.000000000000
Iter=1***x1=15.550625369651***Erro=0.036708357977***fx1=-3.467094204961
Iter=2***x2=15.770292797909***Erro=0.014125954618***fx2=-0.015770164454
Iter=3***x3=15.771284998496***Erro=0.000062915800***fx3=0.000001966285
Iter=4***x4=15.771284874816***Erro=0.000000007842***fx4=0.000000000000
raiz em x= 15.771285
**********************************************************
**************************************
f(x)=xtan(x)-10******ntol=10^-6
**************************************
Valor de xinicial= 0.800000000000
Iter=1***x1=4.226848881729***Erro=4.283561102161***fx1=-1.989642643572
Iter=2***x2=4.320248387137***Erro=0.022096722173***fx2=0.446500184376
Iter=3***x3=4.306294495741***Erro=0.003229881744***fx3=0.014736982657
Iter=4***x4=4.305801985976***Erro=0.000114369736***fx4=0.000017101368
Iter=5***x5=4.305801413120***Erro=0.000000133043***fx5=0.000000000023
raiz em x= 4.305801
**********************************************************
Valor de xinicial= 1.300000000000
Iter=1***x1=1.544249830806***Erro=0.187884485235***fx1=48.157847334865
Iter=2***x2=1.522649369578***Erro=0.013987672718***fx2=21.600597618756
Iter=3***x3=1.490795035163***Erro=0.020920334682***fx3=8.594864926730
Iter=4***x4=1.455842335927***Erro=0.023445677247***fx4=2.608731236569
Iter=5***x5=1.433978664905***Erro=0.015017883793***fx5=0.415467386770
Iter=6***x6=1.429053050766***Erro=0.003434928468***fx6=0.014371083200
Iter=7***x7=1.428870246119***Erro=0.000127920126***fx7=0.000018419603
Iter=8***x8=1.428870011214***Erro=0.000000164399***fx8=0.000000000030
raiz em x= 1.428870
**********************************************************
Valor de xinicial= 1.000000000000
Iter=1***x1=2.694303979460***Erro=1.694303979460***fx1=-11.292499215779
Iter=2***x2=6.678082314947***Erro=1.478592751916***fx2=-7.216635770764
Iter=3***x3=7.552301061873***Erro=0.130908650971***fx3=14.269989079332
Iter=4***x4=7.391529936286***Erro=0.021287700831***fx4=4.827363932468
Iter=5***x5=7.268197663983***Erro=0.016685621700***fx5=0.954879343845
Iter=6***x6=7.230436003184***Erro=0.005195464205***fx6=0.052389800636
Iter=7***x7=7.228117505510***Erro=0.000320658073***fx7=0.000173600298
Iter=8***x8=7.228109771713***Erro=0.000001069960***fx8=0.000000001917
Iter=9***x9=7.228109771627***Erro=0.000000000012***fx9=0.000000000000
raiz em x= 7.228110
**********************************************************
Valor de xinicial= 4.000000000000
Iter=1***x1=4.510333057106***Erro=0.127583264276***fx1=12.017591731306
Iter=2***x2=4.407506765988***Erro=0.022797937495***fx2=4.005700666695
Iter=3***x3=4.330608643571***Erro=0.017447079834***fx3=0.786650172384
Iter=4***x4=4.307258089643***Erro=0.005391979708***fx4=0.043635542384
Iter=5***x5=4.305806413627***Erro=0.000337030191***fx5=0.000149280556
Iter=6***x6=4.305801413178***Erro=0.000001161327***fx6=0.000000001759
Iter=7***x7=4.305801413119***Erro=0.000000000014***fx7=-0.000000000000
raiz em x= 4.305801
**********************************************************
Valor de xinicial= 6.000000000000
Iter=1***x1=7.889310843991***Erro=0.314885140665***fx1=-233.215526505100
Iter=2***x2=7.926357849569***Erro=0.004695848131***fx2=-119.324764932144
Iter=3***x3=8.005801653385***Erro=0.010022737469***fx3=-62.326416082055
Iter=4***x4=8.187258213090***Erro=0.022665632695***fx4=-33.649609745313
Iter=5***x5=8.644375540547***Erro=0.055832772774***fx5=-18.558434007189
Iter=6***x6=9.795096042762***Erro=0.133117828676***fx6=-6.197258283404
Iter=7***x7=10.326608806217***Erro=0.054263149757***fx7=3.062203954435
Iter=8***x8=10.217687822770***Erro=0.010547604300***fx8=0.372356942377
Iter=9***x9=10.200577554981***Erro=0.001674573356***fx9=0.006611495936
Iter=10***x10=10.200262690297***Erro=0.000030867339***fx10=0.000002140413
Iter=11***x11=10.200262588296***Erro=0.000000010000***fx11=0.000000000000
raiz em x= 10.200263
**********************************************************
Valor de xinicial= 11.000000000000
Iter=1***x1=11.004445249297***Erro=0.000404113572***fx1=-1250.469401034097
Iter=2***x2=11.013394468647***Erro=0.000813236755***fx2=-627.963902421606
Iter=3***x3=11.031528521098***Erro=0.001646545259***fx3=-316.689185575633
Iter=4***x4=11.068744291692***Erro=0.003373582412***fx4=-161.004279767261
Iter=5***x5=11.146997143023***Erro=0.007069713535***fx5=-83.051525391277
Iter=6***x6=11.318827435645***Erro=0.015414940043***fx6=-43.787169418760
Iter=7***x7=11.719845974397***Erro=0.035429335859***fx7=-23.247942609304
Iter=8***x8=12.629221208621***Erro=0.077592763268***fx8=-9.205199126202
Iter=9***x9=13.351641019022***Erro=0.057202245369***fx9=3.348229877287
Iter=10***x10=13.230749732284***Erro=0.009054414103***fx10=0.361604996572
Iter=11***x11=13.214408619705***Erro=0.001235085910***fx11=0.004802580363
Iter=12***x12=13.214185723768***Erro=0.000016867644***fx12=0.000000859932
Iter=13***x13=13.214185683843***Erro=0.000000003021***fx13=0.000000000000
raiz em x= 13.214186
**********************************************************
Valor de xinicial= 15.000000000000
Iter=1***x1=15.908693561177***Erro=0.060579570745***fx1=-6.763050959280
Iter=2***x2=16.311957329403***Erro=0.025348641400***fx2=1.255517421523
Iter=3***x3=16.261267170401***Erro=0.003107546077***fx3=0.043938989578
Iter=4***x4=16.259363621544***Erro=0.000117060303***fx4=0.000055168165
Iter=5***x5=16.259361225508***Erro=0.000000147363***fx5=0.000000000087
raiz em x= 16.259361
**********************************************************
**************************************
f(x)=xtan(x)-100******ntol=10^-6
**************************************
Valor de xinicial= 1.550000000000
Iter=1***x1=1.557013967893***Erro=0.004525140576***fx1=12.964361982640
Iter=2***x2=1.555446309740***Erro=0.001006836281***fx2=1.323935730366
Iter=3***x3=1.555247731660***Erro=0.000127666303***fx3=0.016907287879
Iter=4***x4=1.555245129692***Erro=0.000001673025***fx4=0.000002828644
Iter=5***x5=1.555245129256***Erro=0.000000000280***fx5=0.000000000000
raiz em x= 1.555245
**********************************************************
Valor de xinicial= 4.100000000000
Iter=1***x1=10.907718292687***Erro=1.660419095777***fx1=23.834912749739
Iter=2***x2=10.891028974290***Erro=0.001530046702***fx2=3.795388343824
Iter=3***x3=10.887269781095***Erro=0.000345164190***fx3=0.131269418125
Iter=4***x4=10.887130281375***Erro=0.000012813104***fx4=0.000168220455
Iter=5***x5=10.887130102148***Erro=0.000000016462***fx5=0.000000000277
raiz em x= 10.887130
**********************************************************
Valor de xinicial= 4.700000000000
Iter=1***x1=4.690901777572***Erro=0.001935792006***fx1=118.277821767175
Iter=2***x2=4.679315185349***Erro=0.002470013821***fx2=41.429456739429
Iter=3***x3=4.669701718570***Erro=0.002054460193***fx3=9.326876335718
Iter=4***x4=4.666097321294***Erro=0.000771868846***fx4=0.725787663183
Iter=5***x5=4.665767506757***Erro=0.000070683167***fx5=0.005130883654
Iter=6***x6=4.665765141847***Erro=0.000000506864***fx6=0.000000260071
raiz em x= 4.665765
**********************************************************
Valor de xinicial= 4.800000000000
Iter=1***x1=5.051226932602***Erro=0.052338944292***fx1=-114.332569600725
Iter=2***x2=7.717463110733***Erro=0.527839317795***fx2=-43.821109333453
Iter=3***x3=7.820827370942***Erro=0.013393554167***fx3=135.805621398015
Iter=4***x4=7.801827579487***Erro=0.002429383818***fx4=49.456309732549
Iter=5***x5=7.784714845351***Erro=0.002193426343***fx5=12.207609914536
Iter=6***x6=7.777269095674***Erro=0.000956457600***fx6=1.183031522184
Iter=7***x7=7.776384380079***Erro=0.000113756588***fx7=0.013462496570
Iter=8***x8=7.776374079212***Erro=0.000001324634***fx8=0.000001783398
Iter=9***x9=7.776374077847***Erro=0.000000000176***fx9=0.000000000001
raiz em x= 7.776374
**********************************************************
Valor de xinicial= 7.000000000000
Iter=1***x1=14.120423328970***Erro=1.017203332710***fx1=743.253152448424
Iter=2***x2=14.105685544628***Erro=0.001043721141***fx2=347.916129729807
Iter=3***x3=14.081303096047***Erro=0.001728554667***fx3=151.802428832605
Iter=4***x4=14.047827391420***Erro=0.002377315821***fx4=56.822292342026
Iter=5***x5=14.015830874312***Erro=0.002277684386***fx5=14.945054821377
Iter=6***x6=14.000342027227***Erro=0.001105096603***fx6=1.683716258621
Iter=7***x7=13.998125988686***Erro=0.000158284600***fx7=0.026672291628
Iter=8***x8=13.998089744546***Erro=0.000002589214***fx8=0.000006907382
Iter=9***x9=13.998089735155***Erro=0.000000000671***fx9=0.000000000001
raiz em x= 13.998090
**********************************************************
Valor de xinicial= 17.000000000000
Iter=1***x1=17.178069221050***Erro=0.010474660062***fx1=70.025949229515
Iter=2***x2=17.137117588733***Erro=0.002383948498***fx2=20.178753878818
Iter=3***x3=17.113841657574***Erro=0.001358217392***fx3=2.829360030169
Iter=4***x4=17.109427525544***Erro=0.000257927596***fx4=0.073104620966
Iter=5***x5=17.109307344290***Erro=0.000007024271***fx5=0.000051366194
Iter=6***x6=17.109307259727***Erro=0.000000004943***fx6=0.000000000026
raiz em x= 17.109307
**********************************************************
****************Método Bisseção****************
**************************************
f(x)=xtan(x)******ntol=10^-6
**************************************
Valor de limite intervalo= 3.000000000000
Valor de limite intervalo= 4.000000000000
Iter=0***x0=3.500000000000***Erro=0.166666666667***fx0=1.311049740555
Iter=1***x1=3.250000000000***Erro=0.083333333333***fx1=0.353710582918
Iter=2***x2=3.125000000000***Erro=0.040000000000***fx2=-0.051856801560
Iter=3***x3=3.187500000000***Erro=0.020000000000***fx3=0.146432549245
Iter=4***x4=3.156250000000***Erro=0.010000000000***fx4=0.046265562852
Iter=5***x5=3.140625000000***Erro=0.004975124378***fx5=-0.003039038004
Iter=6***x6=3.148437500000***Erro=0.002487562189***fx6=0.021550907688
Iter=7***x7=3.144531250000***Erro=0.001243781095***fx7=0.009240534841
Iter=8***x8=3.142578125000***Erro=0.000621890547***fx8=0.003096921899
Iter=9***x9=3.141601562500***Erro=0.000310945274***fx9=0.000027988246
Iter=10***x10=3.141113281250***Erro=0.000155448469***fx10=-0.001505762939
Iter=11***x11=3.141357421875***Erro=0.000077718194***fx11=-0.000738946907
Iter=12***x12=3.141479492188***Erro=0.000038857587***fx12=-0.000355494226
Iter=13***x13=3.141540527344***Erro=0.000019428416***fx13=-0.000163756715
Iter=14***x14=3.141571044922***Erro=0.000009714114***fx14=-0.000067885165
Iter=15***x15=3.141586303711***Erro=0.000004857033***fx15=-0.000019948692
Iter=16***x16=3.141593933105***Erro=0.000002428517***fx16=0.000004019719
Iter=17***x17=3.141590118408***Erro=0.000001214257***fx17=-0.000007964501
Iter=18***x18=3.141592025757***Erro=0.000000607128***fx18=-0.000001972395
Iter=19***x19=3.141592979431***Erro=0.000000303564***fx19=0.000001023661
raiz em x= 3.141593
**********************************************************
Valor de limite intervalo= 6.000000000000
Valor de limite intervalo= 7.000000000000
Iter=0***x0=6.500000000000***Erro=0.083333333333***fx0=1.431801802248
Iter=1***x1=6.250000000000***Erro=0.040000000000***fx1=-0.207484340519
Iter=2***x2=6.375000000000***Erro=0.020000000000***fx2=0.586968965040
Iter=3***x3=6.312500000000***Erro=0.010000000000***fx3=0.185102024017
Iter=4***x4=6.281250000000***Erro=0.004975124378***fx4=-0.012156163398
Iter=5***x5=6.296875000000***Erro=0.002487562189***fx5=0.086207669873
Iter=6***x6=6.289062500000***Erro=0.001243781095***fx6=0.036962458551
Iter=7***x7=6.285156250000***Erro=0.000621890547***fx7=0.012387699627
Iter=8***x8=6.283203125000***Erro=0.000310945274***fx8=0.000111952985
Iter=9***x9=6.282226562500***Erro=0.000155448469***fx9=-0.006023053138
Iter=10***x10=6.282714843750***Erro=0.000077718194***fx10=-0.002955787791
Iter=11***x11=6.282958984375***Erro=0.000038857587***fx11=-0.001421976923
Iter=12***x12=6.283081054688***Erro=0.000019428416***fx12=-0.000655026860
Iter=13***x13=6.283142089844***Erro=0.000009714114***fx13=-0.000271540662
Iter=14***x14=6.283172607422***Erro=0.000004857033***fx14=-0.000079794770
Iter=15***x15=6.283187866211***Erro=0.000002428517***fx15=0.000016078875
Iter=16***x16=6.283180236816***Erro=0.000001214257***fx16=-0.000031858006
Iter=17***x17=6.283184051514***Erro=0.000000607128***fx17=-0.000007889580
Iter=18***x18=6.283185958862***Erro=0.000000303564***fx18=0.000004094644
Iter=19***x19=6.283185005188***Erro=0.000000151782***fx19=-0.000001897469
Iter=20***x20=6.283185482025***Erro=0.000000075891***fx20=0.000001098587
raiz em x= 6.283185
**********************************************************
Valor de limite intervalo= 9.000000000000
Valor de limite intervalo= 10.000000000000
Iter=0***x0=9.500000000000***Erro=0.055555555556***fx0=0.715960268195
Iter=1***x1=9.250000000000***Erro=0.027027027027***fx1=-1.633361722273
Iter=2***x2=9.375000000000***Erro=0.013333333333***fx2=-0.467054208656
Iter=3***x3=9.437500000000***Erro=0.006666666667***fx3=0.120070723136
Iter=4***x4=9.406250000000***Erro=0.003322259136***fx4=-0.174298576158
Iter=5***x5=9.421875000000***Erro=0.001658374793***fx5=-0.027351410331
Iter=6***x6=9.429687500000***Erro=0.000829187396***fx6=0.046295792679
Iter=7***x7=9.425781250000***Erro=0.000414593698***fx7=0.009456787991
Iter=8***x8=9.423828125000***Erro=0.000207253886***fx8=-0.008951091729
Iter=9***x9=9.424804687500***Erro=0.000103626943***fx9=0.000251894216
Iter=10***x10=9.424316406250***Erro=0.000051810787***fx10=-0.004349836138
Iter=11***x11=9.424560546875***Erro=0.000025904722***fx11=-0.002049030444
Iter=12***x12=9.424682617188***Erro=0.000012952193***fx12=-0.000898583002
Iter=13***x13=9.424743652344***Erro=0.000006476055***fx13=-0.000323348117
Iter=14***x14=9.424774169922***Erro=0.000003238017***fx14=-0.000035727882
Iter=15***x15=9.424789428711***Erro=0.000001619008***fx15=0.000108082934
Iter=16***x16=9.424781799316***Erro=0.000000809504***fx16=0.000036177468
raiz em x= 9.424778
**********************************************************
Valor de limite intervalo= 10.000000000000
Valor de limite intervalo= 14.000000000000
Iter=0***x0=12.000000000000***Erro=0.166666666667***fx0=-7.630319143939
Iter=1***x1=13.000000000000***Erro=0.083333333333***fx1=6.019274728174
Iter=2***x2=12.500000000000***Erro=0.040000000000***fx2=-0.830853023291
Iter=3***x3=12.750000000000***Erro=0.020000000000***fx3=2.367950255608
Iter=4***x4=12.625000000000***Erro=0.010000000000***fx4=0.741045279239
Iter=5***x5=12.562500000000***Erro=0.004975124378***fx5=-0.048624835714
Iter=6***x6=12.593750000000***Erro=0.002487562189***fx6=0.344895323602
Iter=7***x7=12.578125000000***Erro=0.001243781095***fx7=0.147854941439
Iter=8***x8=12.570312500000***Erro=0.000621890547***fx8=0.049550990993
Iter=9***x9=12.566406250000***Erro=0.000310945274***fx9=0.000447811940
Iter=10***x10=12.564453125000***Erro=0.000155448469***fx10=-0.024092234698
Iter=11***x11=12.565429687500***Erro=0.000077718194***fx11=-0.011823153779
Iter=12***x12=12.565917968750***Erro=0.000038857587***fx12=-0.005687907982
Iter=13***x13=12.566162109375***Erro=0.000019428416***fx13=-0.002620107470
Iter=14***x14=12.566284179688***Erro=0.000009714114***fx14=-0.001086162650
Iter=15***x15=12.566345214844***Erro=0.000004857033***fx15=-0.000319179079
Iter=16***x16=12.566375732422***Erro=0.000002428517***fx16=0.000064315499
Iter=17***x17=12.566360473633***Erro=0.000001214257***fx17=-0.000127432023
Iter=18***x18=12.566368103027***Erro=0.000000607128***fx18=-0.000031558320
Iter=19***x19=12.566371917725***Erro=0.000000303564***fx19=0.000016378575
Iter=20***x20=12.566370010376***Erro=0.000000151782***fx20=-0.000007589876
Iter=21***x21=12.566370964050***Erro=0.000000075891***fx21=0.000004394348
Iter=22***x22=12.566370487213***Erro=0.000000037945***fx22=-0.000001597764
Iter=23***x23=12.566370725632***Erro=0.000000018973***fx23=0.000001398292
raiz em x= 12.566371
**********************************************************
Valor de limite intervalo= 14.000000000000
Valor de limite intervalo= 16.000000000000
Iter=0***x0=15.000000000000***Erro=0.066666666667***fx0=-12.839901013628
Iter=1***x1=15.500000000000***Erro=0.032258064516***fx1=-3.270718630619
Iter=2***x2=15.750000000000***Erro=0.016129032258***fx2=0.662468789074
Iter=3***x3=15.625000000000***Erro=0.008000000000***fx3=-1.299283377950
Iter=4***x4=15.687500000000***Erro=0.003984063745***fx4=-0.321062331652
Iter=5***x5=15.718750000000***Erro=0.001992031873***fx5=0.169560520803
Iter=6***x6=15.703125000000***Erro=0.000995024876***fx6=-0.075976519228
Iter=7***x7=15.710937500000***Erro=0.000497512438***fx7=0.046728111651
Iter=8***x8=15.707031250000***Erro=0.000248694355***fx8=-0.014639239289
Iter=9***x9=15.708984375000***Erro=0.000124347177***fx9=0.016040560285
Iter=10***x10=15.708007812500***Erro=0.000062173589***fx10=0.000699706156
Iter=11***x11=15.707519531250***Erro=0.000031085828***fx11=-0.006970003323
Iter=12***x12=15.707763671875***Erro=0.000015542672***fx12=-0.003135208001
Iter=13***x13=15.707885742188***Erro=0.000007771276***fx13=-0.001217765806
Iter=14***x14=15.707946777344***Erro=0.000003885623***fx14=-0.000259033549
Iter=15***x15=15.707977294922***Erro=0.000001942811***fx15=0.000220335372
Iter=16***x16=15.707962036133***Erro=0.000000971405***fx16=-0.000019349321
Iter=17***x17=15.707969665527***Erro=0.000000485702***fx17=0.000100492967
Iter=18***x18=15.707965850830***Erro=0.000000242851***fx18=0.000040571808
Iter=19***x19=15.707963943481***Erro=0.000000121426***fx19=0.000010611240
Iter=20***x20=15.707962989807***Erro=0.000000060713***fx20=-0.000004369042
Iter=21***x21=15.707963466644***Erro=0.000000030356***fx21=0.000003121099
raiz em x= 15.707963
**********************************************************
Valor de limite intervalo= 10.000000000000
Valor de limite intervalo= 14.000000000000
Iter=0***x0=12.000000000000***Erro=0.166666666667***fx0=-7.630319143939
Iter=1***x1=13.000000000000***Erro=0.083333333333***fx1=6.019274728174
Iter=2***x2=12.500000000000***Erro=0.040000000000***fx2=-0.830853023291
Iter=3***x3=12.750000000000***Erro=0.020000000000***fx3=2.367950255608
Iter=4***x4=12.625000000000***Erro=0.010000000000***fx4=0.741045279239
Iter=5***x5=12.562500000000***Erro=0.004975124378***fx5=-0.048624835714
Iter=6***x6=12.593750000000***Erro=0.002487562189***fx6=0.344895323602
Iter=7***x7=12.578125000000***Erro=0.001243781095***fx7=0.147854941439
Iter=8***x8=12.570312500000***Erro=0.000621890547***fx8=0.049550990993
Iter=9***x9=12.566406250000***Erro=0.000310945274***fx9=0.000447811940
Iter=10***x10=12.564453125000***Erro=0.000155448469***fx10=-0.024092234698
Iter=11***x11=12.565429687500***Erro=0.000077718194***fx11=-0.011823153779
Iter=12***x12=12.565917968750***Erro=0.000038857587***fx12=-0.005687907982
Iter=13***x13=12.566162109375***Erro=0.000019428416***fx13=-0.002620107470
Iter=14***x14=12.566284179688***Erro=0.000009714114***fx14=-0.001086162650
Iter=15***x15=12.566345214844***Erro=0.000004857033***fx15=-0.000319179079
Iter=16***x16=12.566375732422***Erro=0.000002428517***fx16=0.000064315499
Iter=17***x17=12.566360473633***Erro=0.000001214257***fx17=-0.000127432023
Iter=18***x18=12.566368103027***Erro=0.000000607128***fx18=-0.000031558320
Iter=19***x19=12.566371917725***Erro=0.000000303564***fx19=0.000016378575
Iter=20***x20=12.566370010376***Erro=0.000000151782***fx20=-0.000007589876
Iter=21***x21=12.566370964050***Erro=0.000000075891***fx21=0.000004394348
Iter=22***x22=12.566370487213***Erro=0.000000037945***fx22=-0.000001597764
Iter=23***x23=12.566370725632***Erro=0.000000018973***fx23=0.000001398292
raiz em x= 12.566371
**********************************************************
Valor de limite intervalo= 10.000000000000
Valor de limite intervalo= 11.991148580000
Iter=0***x0=10.995574290000***Erro=0.099557429000***fx0=-
4514293868.350612640381
Iter=1***x1=10.497787145000***Erro=0.047418292839***fx1=19.317548569901
Iter=2***x2=10.746680717500***Erro=0.023160041602***fx2=42.282518517143
Iter=3***x3=10.871127503750***Erro=0.011447458988***fx3=86.904207188812
Iter=4***x4=10.933350896875***Erro=0.005691154863***fx4=175.484439705513
Iter=5***x5=10.964462593437***Erro=0.002837503097***fx5=352.308835457774
Iter=6***x6=10.980018441719***Erro=0.001416741544***fx6=705.788220858216
Iter=7***x7=10.987796365859***Erro=0.000707869338***fx7=1412.662046369345
Iter=8***x8=10.991685327930***Erro=0.000353809444***fx8=2826.367704446493
Iter=9***x9=10.993629808965***Erro=0.000176873432***fx9=5653.760322455023
Iter=10***x10=10.994602049482***Erro=0.000088428896***fx10=11308.5454997911
31
Iter=11***x11=10.995088169741***Erro=0.000044212493***fx11=22618.1530114456
18
Iter=12***x12=10.995331229871***Erro=0.000022105758***fx12=45237.5353658758
83
Iter=13***x13=10.995452759935***Erro=0.000011052757***fx13=90476.9787644743
34
Iter=14***x14=10.995513524968***Erro=0.000005526348***fx14=180958.585089362
081
Iter=15***x15=10.995543907484***Erro=0.000002763166***fx15=361932.678954283
183
Iter=16***x16=10.995559098742***Erro=0.000001381581***fx16=723924.398863761
802
Iter=17***x17=10.995566694371***Erro=0.000000690790***fx17=1448082.01664886
6702
Iter=18***x18=10.995570492185***Erro=0.000000345395***fx18=2897094.35577743
0348
Iter=19***x19=10.995572391093***Erro=0.000000172697***fx19=5797910.58203990
7575
Iter=20***x20=10.995573340546***Erro=0.000000086349***fx20=11610734.3561130
51996
Iter=21***x21=10.995573815273***Erro=0.000000043174***fx21=23281349.2418925
46415
Iter=22***x22=10.995574052637***Erro=0.000000021587***fx22=46804079.9150471
91083
Iter=23***x23=10.995574171318***Erro=0.000000010794***fx23=94588854.9024629
44388
Iter=24***x24=10.995574230659***Erro=0.000000005397***fx24=193226420.679346
621037
Iter=25***x25=10.995574260330***Erro=0.000000002698***fx25=403733965.833129
227161
Iter=26***x26=10.995574275165***Erro=0.000000001349***fx26=886776469.931805
729866
Iter=27***x27=10.995574282582***Erro=0.000000000675***fx27=2207112548.42033
7677002
Iter=28***x28=10.995574286291***Erro=0.000000000337***fx28=8636999198.12158
7753296
Iter=29***x29=10.995574288146***Erro=0.000000000169***fx29=-
18914741356.117889404297
Iter=30***x30=10.995574287218***Erro=0.000000000084***fx30=31790450268.3486
93847656
Iter=31***x31=10.995574287682***Erro=0.000000000042***fx31=-
93401242883.504089355469
Iter=32***x32=10.995574287450***Erro=0.000000000021***fx32=96387903514.3848
72436523
Iter=33***x33=10.995574287566***Erro=0.000000000011***fx33=-
6028639402859.600585937500
Iter=34***x34=10.995574287508***Erro=0.000000000005***fx34=195908050477.344
329833984
Iter=35***x35=10.995574287537***Erro=0.000000000003***fx35=404963056630.345
336914062
Iter=36***x36=10.995574287552***Erro=0.000000000001***fx36=868249198425.089
599609375
Iter=37***x37=10.995574287559***Erro=0.000000000001***fx37=2028668810600.13
2812500000
Iter=38***x38=10.995574287562***Erro=0.000000000000***fx38=6115101321300.44
3359375000
Iter=39***x39=10.995574287564***Erro=0.000000000000***fx39=-
915848660091613.750000000000
Iter=40***x40=10.995574287563***Erro=0.000000000000***fx40=12300179238230.0
37109375000
Iter=41***x41=10.995574287564***Erro=0.000000000000***fx41=24935247887485.7
38281250000
Iter=42***x42=10.995574287564***Erro=0.000000000000***fx42=51054868967271.4
68750000000
Iter=43***x43=10.995574287564***Erro=0.000000000000***fx43=108137995010433.
562500000000
Iter=44***x44=10.995574287564***Erro=0.000000000000***fx44=245231472399453.
531250000000
Iter=45***x45=10.995574287564***Erro=0.000000000000***fx45=669815565515842.
500000000000
Iter=46***x46=10.995574287564***Erro=0.000000000000***fx46=498672497083330
8.000000000000
Iter=47***x47=10.995574287564***Erro=0.000000000000***fx47=-
2243784892570696.500000000000
Iter=48***x48=10.995574287564***Erro=0.000000000000***fx48=-
8158499882394846.000000000000
Iter=49***x49=10.995574287564***Erro=0.000000000000***fx49=256538980365723
68.000000000000
Iter=50***x50=10.995574287564***Erro=0.000000000000***fx50=-
8158499882394846.000000000000
Raiz não encontrada
**********************************************************
**************************************
f(x)=xtan(x)-0.5******ntol=10^-6
**************************************
Valor de limite intervalo= 0.650000000000
Valor de limite intervalo= 1.000000000000
Iter=0***x0=0.825000000000***Erro=0.269230769231***fx0=0.393074496400
Iter=1***x1=0.737500000000***Erro=0.134615384615***fx1=0.170030279674
Iter=2***x2=0.693750000000***Erro=0.067307692308***fx2=0.076964216343
Iter=3***x3=0.671875000000***Erro=0.033653846154***fx3=0.034349305054
Iter=4***x4=0.660937500000***Erro=0.016826923077***fx4=0.013950419510
Iter=5***x5=0.655468750000***Erro=0.008413461538***fx5=0.003970067529
Iter=6***x6=0.652734375000***Erro=0.004189108318***fx6=-0.000966295740
Iter=7***x7=0.654101562500***Erro=0.002094554159***fx7=0.001497429497
Iter=8***x8=0.653417968750***Erro=0.001047277080***fx8=0.000264454861
Iter=9***x9=0.653076171875***Erro=0.000523364486***fx9=-0.000351198184
Iter=10***x10=0.653247070313***Erro=0.000261613783***fx10=-0.000043441130
Iter=11***x11=0.653332519531***Erro=0.000130806892***fx11=0.000110489494
Iter=12***x12=0.653289794922***Erro=0.000065403446***fx12=0.000033519840
Iter=13***x13=0.653268432617***Erro=0.000032700654***fx13=-0.000004961731
Iter=14***x14=0.653279113770***Erro=0.000016350327***fx14=0.000014278783
Iter=15***x15=0.653273773193***Erro=0.000008175163***fx15=0.000004658458
Iter=16***x16=0.653271102905***Erro=0.000004087565***fx16=-0.000000151653
Iter=17***x17=0.653272438049***Erro=0.000002043782***fx17=0.000002253398
Iter=18***x18=0.653271770477***Erro=0.000001021891***fx18=0.000001050872
Iter=19***x19=0.653271436691***Erro=0.000000510946***fx19=0.000000449609
raiz em x= 0.653271
**********************************************************
Valor de limite intervalo= 3.000000000000
Valor de limite intervalo= 4.000000000000
Iter=0***x0=3.500000000000***Erro=0.166666666667***fx0=0.811049740555
Iter=1***x1=3.250000000000***Erro=0.076923076923***fx1=-0.146289417082
Iter=2***x2=3.375000000000***Erro=0.038461538462***fx2=0.302373828947
Iter=3***x3=3.312500000000***Erro=0.019230769231***fx3=0.071707854028
Iter=4***x4=3.281250000000***Erro=0.009523809524***fx4=-0.038746636895
Iter=5***x5=3.296875000000***Erro=0.004761904762***fx5=0.016101352452
Iter=6***x6=3.289062500000***Erro=0.002375296912***fx6=-0.011415505725
Iter=7***x7=3.292968750000***Erro=0.001187648456***fx7=0.002319466203
Iter=8***x8=3.291015625000***Erro=0.000593471810***fx8=-0.004553853735
Iter=9***x9=3.291992187500***Erro=0.000296647879***fx9=-0.001118656040
Iter=10***x10=3.292480468750***Erro=0.000148323939***fx10=0.000600039040
Iter=11***x11=3.292236328125***Erro=0.000074156470***fx11=-0.000259399951
Iter=12***x12=3.292358398438***Erro=0.000037078235***fx12=0.000170296674
Iter=13***x13=3.292297363281***Erro=0.000018538774***fx13=-0.000044557355
Iter=14***x14=3.292327880859***Erro=0.000009269387***fx14=0.000062868230
Iter=15***x15=3.292312622070***Erro=0.000004634693***fx15=0.000009155080
Iter=16***x16=3.292304992676***Erro=0.000002317341***fx16=-0.000017701227
Iter=17***x17=3.292308807373***Erro=0.000001158669***fx17=-0.000004273095
Iter=18***x18=3.292310714722***Erro=0.000000579335***fx18=0.000002440987
raiz em x= 3.292310
**********************************************************
Valor de limite intervalo= 6.000000000000
Valor de limite intervalo= 7.000000000000
Iter=0***x0=6.500000000000***Erro=0.083333333333***fx0=0.931801802248
Iter=1***x1=6.250000000000***Erro=0.040000000000***fx1=-0.707484340519
Iter=2***x2=6.375000000000***Erro=0.020000000000***fx2=0.086968965040
Iter=3***x3=6.312500000000***Erro=0.009900990099***fx3=-0.314897975983
Iter=4***x4=6.343750000000***Erro=0.004926108374***fx4=-0.115322271711
Iter=5***x5=6.359375000000***Erro=0.002457002457***fx5=-0.014541467393
Iter=6***x6=6.367187500000***Erro=0.001228501229***fx6=0.036119324197
Iter=7***x7=6.363281250000***Erro=0.000614250614***fx7=0.010765727262
Iter=8***x8=6.361328125000***Erro=0.000307031010***fx8=-0.001893619937
Iter=9***x9=6.362304687500***Erro=0.000153515505***fx9=0.004434609903
Iter=10***x10=6.361816406250***Erro=0.000076757753***fx10=0.001270134830
Iter=11***x11=6.361572265625***Erro=0.000038377403***fx11=-0.000311832493
Iter=12***x12=6.361694335938***Erro=0.000019188702***fx12=0.000479128671
Iter=13***x13=6.361633300781***Erro=0.000009594351***fx13=0.000083642466
Iter=14***x14=6.361602783203***Erro=0.000004797152***fx14=-0.000114096419
Iter=15***x15=6.361618041992***Erro=0.000002398570***fx15=-0.000015227328
Iter=16***x16=6.361625671387***Erro=0.000001199285***fx16=0.000034207481
Iter=17***x17=6.361621856689***Erro=0.000000599643***fx17=0.000009490055
Iter=18***x18=6.361619949341***Erro=0.000000299821***fx18=-0.000002868642
Iter=19***x19=6.361620903015***Erro=0.000000149911***fx19=0.000003310705
raiz em x= 6.361620
**********************************************************
Valor de limite intervalo= 9.000000000000
Valor de limite intervalo= 10.000000000000
Iter=0***x0=9.500000000000***Erro=0.055555555556***fx0=0.215960268195
Iter=1***x1=9.250000000000***Erro=0.027027027027***fx1=-2.133361722273
Iter=2***x2=9.375000000000***Erro=0.013333333333***fx2=-0.967054208656
Iter=3***x3=9.437500000000***Erro=0.006622516556***fx3=-0.379929276864
Iter=4***x4=9.468750000000***Erro=0.003300330033***fx4=-0.083371196064
Iter=5***x5=9.484375000000***Erro=0.001650165017***fx5=0.065910829686
Iter=6***x6=9.476562500000***Erro=0.000824402308***fx6=-0.008821444493
Iter=7***x7=9.480468750000***Erro=0.000412201154***fx7=0.028521296565
Iter=8***x8=9.478515625000***Erro=0.000206100577***fx8=0.009844149764
Iter=9***x9=9.477539062500***Erro=0.000103050289***fx9=0.000509917646
Iter=10***x10=9.477050781250***Erro=0.000051522490***fx10=-0.004156121037
Iter=11***x11=9.477294921875***Erro=0.000025760581***fx11=-0.001823191240
Iter=12***x12=9.477416992188***Erro=0.000012880125***fx12=-0.000656659201
Iter=13***x13=9.477478027344***Erro=0.000006440021***fx13=-0.000073376381
Iter=14***x14=9.477508544922***Erro=0.000003220010***fx14=0.000218269232
Iter=15***x15=9.477493286133***Erro=0.000001610005***fx15=0.000072446075
Iter=16***x16=9.477485656738***Erro=0.000000805002***fx16=-0.000000465240
Iter=17***x17=9.477489471436***Erro=0.000000402501***fx17=0.000035990396
Iter=18***x18=9.477487564087***Erro=0.000000201250***fx18=0.000017762572
Iter=19***x19=9.477486610413***Erro=0.000000100625***fx19=0.000008648665
Iter=20***x20=9.477486133575***Erro=0.000000050313***fx20=0.000004091712
Iter=21***x21=9.477485895157***Erro=0.000000025156***fx21=0.000001813236
raiz em x= 9.477486
**********************************************************
Valor de limite intervalo= 12.000000000000
Valor de limite intervalo= 13.000000000000
Iter=0***x0=12.500000000000***Erro=0.040000000000***fx0=-1.330853023291
Iter=1***x1=12.750000000000***Erro=0.020000000000***fx1=1.867950255608
Iter=2***x2=12.625000000000***Erro=0.010000000000***fx2=0.241045279239
Iter=3***x3=12.562500000000***Erro=0.004975124378***fx3=-0.548624835714
Iter=4***x4=12.593750000000***Erro=0.002481389578***fx4=-0.155104676398
Iter=5***x5=12.609375000000***Erro=0.001240694789***fx5=0.042592952779
Iter=6***x6=12.601562500000***Erro=0.000619962802***fx6=-0.056344087143
Iter=7***x7=12.605468750000***Erro=0.000309885342***fx7=-0.006898385123
Iter=8***x8=12.607421875000***Erro=0.000154942671***fx8=0.017841483944
Iter=9***x9=12.606445312500***Erro=0.000077471336***fx9=0.005470111374
Iter=10***x10=12.605957031250***Erro=0.000038734167***fx10=-0.000714494893
Iter=11***x11=12.606201171875***Erro=0.000019367084***fx11=0.002377718550
Iter=12***x12=12.606079101562***Erro=0.000009683542***fx12=0.000831589429
Iter=13***x13=12.606018066406***Erro=0.000004841771***fx13=0.000058541671
Iter=14***x14=12.605987548828***Erro=0.000002420880***fx14=-0.000327978010
Iter=15***x15=12.606002807617***Erro=0.000001210438***fx15=-0.000134718519
Iter=16***x16=12.606010437012***Erro=0.000000605219***fx16=-0.000038088511
Iter=17***x17=12.606014251709***Erro=0.000000302609***fx17=0.000010226558
Iter=18***x18=12.606012344360***Erro=0.000000151305***fx18=-0.000013930982
Iter=19***x19=12.606013298035***Erro=0.000000075652***fx19=-0.000001852213
Iter=20***x20=12.606013774872***Erro=0.000000037826***fx20=0.000004187172
Iter=21***x21=12.606013536453***Erro=0.000000018913***fx21=0.000001167479
raiz em x= 12.606013
**********************************************************
Valor de limite intervalo= 15.000000000000
Valor de limite intervalo= 16.000000000000
Iter=0***x0=15.500000000000***Erro=0.032258064516***fx0=-3.770718630619
Iter=1***x1=15.750000000000***Erro=0.016129032258***fx1=0.162468789074
Iter=2***x2=15.625000000000***Erro=0.008000000000***fx2=-1.799283377950
Iter=3***x3=15.687500000000***Erro=0.003984063745***fx3=-0.821062331652
Iter=4***x4=15.718750000000***Erro=0.001988071571***fx4=-0.330439479197
Iter=5***x5=15.734375000000***Erro=0.000993048659***fx5=-0.084331245001
Iter=6***x6=15.742187500000***Erro=0.000496524330***fx6=0.038974727776
Iter=7***x7=15.738281250000***Erro=0.000248200546***fx7=-0.022700821294
Iter=8***x8=15.740234375000***Erro=0.000124100273***fx8=0.008131194171
Iter=9***x9=15.739257812500***Erro=0.000062046287***fx9=-0.007286238520
Iter=10***x10=15.739746093750***Erro=0.000031023143***fx10=0.000422119736
Iter=11***x11=15.739501953125***Erro=0.000015511331***fx11=-0.003432148683
Iter=12***x12=15.739624023438***Erro=0.000007755605***fx12=-0.001505036825
Iter=13***x13=15.739685058594***Erro=0.000003877788***fx13=-0.000541464136
Iter=14***x14=15.739715576172***Erro=0.000001938890***fx14=-0.000059673599
Iter=15***x15=15.739730834961***Erro=0.000000969445***fx15=0.000181222719
Iter=16***x16=15.739723205566***Erro=0.000000484723***fx16=0.000060774473
raiz em x= 15.739719
**********************************************************
**************************************
f(x)=xtan(x)-1******ntol=10^-6
**************************************
Valor de limite intervalo= 0.000000000000
Valor de limite intervalo= 1.000000000000
Iter=0***x0=0.500000000000***Erro=1.000000000000***fx0=-0.726848755078
Iter=1***x1=0.750000000000***Erro=0.333333333333***fx1=-0.301302655042
Iter=2***x2=0.875000000000***Erro=0.166666666667***fx2=0.047743925580
Iter=3***x3=0.812500000000***Erro=0.076923076923***fx3=-0.142221292978
Iter=4***x4=0.843750000000***Erro=0.037037037037***fx4=-0.051553167593
Iter=5***x5=0.859375000000***Erro=0.018181818182***fx5=-0.003048803436
Iter=6***x6=0.867187500000***Erro=0.009090909091***fx6=0.022052678273
Iter=7***x7=0.863281250000***Erro=0.004545454545***fx7=0.009429352078
Iter=8***x8=0.861328125000***Erro=0.002272727273***fx8=0.003172267152
Iter=9***x9=0.860351562500***Erro=0.001136363636***fx9=0.000057247293
Iter=10***x10=0.859863281250***Erro=0.000567859171***fx10=-0.001496897070
Iter=11***x11=0.860107421875***Erro=0.000283848992***fx11=-0.000720104905
Iter=12***x12=0.860229492188***Erro=0.000141904356***fx12=-0.000331498844
Iter=13***x13=0.860290527344***Erro=0.000070947144***fx13=-0.000137143289
Iter=14***x14=0.860321044922***Erro=0.000035472314***fx14=-0.000039952377
Iter=15***x15=0.860336303711***Erro=0.000017736157***fx15=0.000008646363
Iter=16***x16=0.860328674316***Erro=0.000008868000***fx16=-0.000015653281
Iter=17***x17=0.860332489014***Erro=0.000004433980***fx17=-0.000003503527
Iter=18***x18=0.860334396362***Erro=0.000002216990***fx18=0.000002571401
Iter=19***x19=0.860333442688***Erro=0.000001108494***fx19=-0.000000466067
Iter=20***x20=0.860333919525***Erro=0.000000554247***fx20=0.000001052666
raiz em x= 0.860334
**********************************************************
Valor de limite intervalo= 3.000000000000
Valor de limite intervalo= 4.000000000000
Iter=0***x0=3.500000000000***Erro=0.166666666667***fx0=0.311049740555
Iter=1***x1=3.250000000000***Erro=0.076923076923***fx1=-0.646289417082
Iter=2***x2=3.375000000000***Erro=0.037037037037***fx2=-0.197626171053
Iter=3***x3=3.437500000000***Erro=0.018518518519***fx3=0.047948066704
Iter=4***x4=3.406250000000***Erro=0.009174311927***fx4=-0.076856181150
Iter=5***x5=3.421875000000***Erro=0.004566210046***fx5=-0.014978913657
Iter=6***x6=3.429687500000***Erro=0.002283105023***fx6=0.016350695955
Iter=7***x7=3.425781250000***Erro=0.001141552511***fx7=0.000652758725
Iter=8***x8=3.423828125000***Erro=0.000570450656***fx8=-0.007171318749
Iter=9***x9=3.424804687500***Erro=0.000285143998***fx9=-0.003261345543
Iter=10***x10=3.425292968750***Erro=0.000142551675***fx10=-0.001304810445
Iter=11***x11=3.425537109375***Erro=0.000071270758***fx11=-0.000326155200
Iter=12***x12=3.425659179688***Erro=0.000035635379***fx12=0.000163269417
Iter=13***x13=3.425598144531***Erro=0.000017817372***fx13=-0.000081450977
Iter=14***x14=3.425628662109***Erro=0.000008908686***fx14=0.000040907199
Iter=15***x15=3.425613403320***Erro=0.000004454323***fx15=-0.000020272394
Iter=16***x16=3.425621032715***Erro=0.000002227162***fx16=0.000010317276
Iter=17***x17=3.425617218018***Erro=0.000001113580***fx17=-0.000004977591
Iter=18***x18=3.425619125366***Erro=0.000000556790***fx18=0.000002669835
Iter=19***x19=3.425618171692***Erro=0.000000278395***fx19=-0.000001153880
raiz em x= 3.425619
**********************************************************
Valor de limite intervalo= 9.000000000000
Valor de limite intervalo= 10.000000000000
Iter=0***x0=9.500000000000***Erro=0.052631578947***fx0=-0.284039731805
Iter=1***x1=9.750000000000***Erro=0.026315789474***fx1=2.287651472455
Iter=2***x2=9.625000000000***Erro=0.013157894737***fx2=0.953309137027
Iter=3***x3=9.562500000000***Erro=0.006578947368***fx3=0.325357123735
Iter=4***x4=9.531250000000***Erro=0.003289473684***fx4=0.018663827439
Iter=5***x5=9.515625000000***Erro=0.001642036125***fx5=-0.133147564791
Iter=6***x6=9.523437500000***Erro=0.000820344545***fx6=-0.057361603252
Iter=7***x7=9.527343750000***Erro=0.000410004100***fx7=-0.019379430184
Iter=8***x8=9.529296875000***Erro=0.000204960033***fx8=-0.000365513328
Iter=9***x9=9.530273437500***Erro=0.000102480016***fx9=0.009147219499
Iter=10***x10=9.529785156250***Erro=0.000051240008***fx10=0.004390369893
Iter=11***x11=9.529541015625***Erro=0.000025620004***fx11=0.002012307634
Iter=12***x12=9.529418945312***Erro=0.000012810002***fx12=0.000823367009
Iter=13***x13=9.529357910156***Erro=0.000006405001***fx13=0.000228919307
Iter=14***x14=9.529327392578***Erro=0.000003202490***fx14=-0.000068298894
Iter=15***x15=9.529342651367***Erro=0.000001601245***fx15=0.000080309736
Iter=16***x16=9.529335021973***Erro=0.000000800623***fx16=0.000006005303
Iter=17***x17=9.529331207275***Erro=0.000000400311***fx17=-0.000031146825
Iter=18***x18=9.529333114624***Erro=0.000000200156***fx18=-0.000012570768
Iter=19***x19=9.529334068298***Erro=0.000000100078***fx19=-0.000003282734
Iter=20***x20=9.529334545135***Erro=0.000000050039***fx20=0.000001361284
raiz em x= 9.529334
**********************************************************
Valor de limite intervalo= 12.000000000000
Valor de limite intervalo= 13.000000000000
Iter=0***x0=12.500000000000***Erro=0.040000000000***fx0=-1.830853023291
Iter=1***x1=12.750000000000***Erro=0.020000000000***fx1=1.367950255608
Iter=2***x2=12.625000000000***Erro=0.009900990099***fx2=-0.258954720761
Iter=3***x3=12.687500000000***Erro=0.004950495050***fx3=0.544389743247
Iter=4***x4=12.656250000000***Erro=0.002475247525***fx4=0.140609025371
Iter=5***x5=12.640625000000***Erro=0.001236093943***fx5=-0.059649245922
Iter=6***x6=12.648437500000***Erro=0.000618046972***fx6=0.040354509956
Iter=7***x7=12.644531250000***Erro=0.000308928020***fx7=-0.009677924414
Iter=8***x8=12.646484375000***Erro=0.000154464010***fx8=0.015330555326
Iter=9***x9=12.645507812500***Erro=0.000077232005***fx9=0.002824393401
Iter=10***x10=12.645019531250***Erro=0.000038614511***fx10=-0.003427244483
Iter=11***x11=12.645263671875***Erro=0.000019306883***fx11=-0.000301545478
Iter=12***x12=12.645385742188***Erro=0.000009653441***fx12=0.001261393954
Iter=13***x13=12.645324707031***Erro=0.000004826721***fx13=0.000479916739
Iter=14***x14=12.645294189453***Erro=0.000002413360***fx14=0.000089183756
Iter=15***x15=12.645278930664***Erro=0.000001206679***fx15=-0.000106181329
Iter=16***x16=12.645286560059***Erro=0.000000603339***fx16=-0.000008498904
Iter=17***x17=12.645290374756***Erro=0.000000301669***fx17=0.000040342397
Iter=18***x18=12.645288467407***Erro=0.000000150835***fx18=0.000015921739
Iter=19***x19=12.645287513733***Erro=0.000000075417***fx19=0.000003711416
Iter=20***x20=12.645287036896***Erro=0.000000037709***fx20=-0.000002393744
raiz em x= 12.645287
**********************************************************
Valor de limite intervalo= 15.000000000000
Valor de limite intervalo= 16.000000000000
Iter=0***x0=15.500000000000***Erro=0.032258064516***fx0=-4.270718630619
Iter=1***x1=15.750000000000***Erro=0.015873015873***fx1=-0.337531210926
Iter=2***x2=15.875000000000***Erro=0.007936507937***fx2=1.676648513742
Iter=3***x3=15.812500000000***Erro=0.003968253968***fx3=0.659034753812
Iter=4***x4=15.781250000000***Erro=0.001984126984***fx4=0.158631298325
Iter=5***x5=15.765625000000***Erro=0.000991080278***fx5=-0.089917895473
Iter=6***x6=15.773437500000***Erro=0.000495540139***fx6=0.034232004117
Iter=7***x7=15.769531250000***Erro=0.000247708695***fx7=-0.027873152534
Iter=8***x8=15.771484375000***Erro=0.000123854347***fx8=0.003171753367
Iter=9***x9=15.770507812500***Erro=0.000061923339***fx9=-0.012352602587
Iter=10***x10=15.770996093750***Erro=0.000030960711***fx10=-0.004590902248
Iter=11***x11=15.771240234375***Erro=0.000015480116***fx11=-0.000709694086
Iter=12***x12=15.771362304688***Erro=0.000007740058***fx12=0.001230999700
Iter=13***x13=15.771301269531***Erro=0.000003870029***fx13=0.000260645325
Iter=14***x14=15.771270751953***Erro=0.000001935011***fx14=-0.000224526250
Iter=15***x15=15.771286010742***Erro=0.000000967505***fx15=0.000018059070
Iter=16***x16=15.771278381348***Erro=0.000000483752***fx16=-0.000103233707
Iter=17***x17=15.771282196045***Erro=0.000000241876***fx17=-0.000042587348
Iter=18***x18=15.771284103394***Erro=0.000000120938***fx18=-0.000012264146
Iter=19***x19=15.771285057068***Erro=0.000000060469***fx19=0.000002897460
Iter=20***x20=15.771284580231***Erro=0.000000030235***fx20=-0.000004683344
raiz em x= 15.771285
**********************************************************
**************************************
f(x)=xtan(x)-10******ntol=10^-6
**************************************
Valor de limite intervalo= 1.000000000000
Valor de limite intervalo= 1.500000000000
Iter=0***x0=1.250000000000***Erro=0.200000000000***fx0=-6.238037907671
Iter=1***x1=1.375000000000***Erro=0.090909090909***fx1=-3.067366522338
Iter=2***x2=1.437500000000***Erro=0.045454545455***fx2=0.720296214340
Iter=3***x3=1.406250000000***Erro=0.022222222222***fx3=-1.531045259820
Iter=4***x4=1.421875000000***Erro=0.010989010989***fx4=-0.522860516726
Iter=5***x5=1.429687500000***Erro=0.005494505495***fx5=0.064471103244
Iter=6***x6=1.425781250000***Erro=0.002739726027***fx6=-0.237064910330
Iter=7***x7=1.427734375000***Erro=0.001367989056***fx7=-0.088344989613
Iter=8***x8=1.428710937500***Erro=0.000683526999***fx8=-0.012459515929
Iter=9***x9=1.429199218750***Erro=0.000341763500***fx9=0.025873799731
Iter=10***x10=1.428955078125***Erro=0.000170881750***fx10=0.006674313715
Iter=11***x11=1.428833007812***Erro=0.000085433575***fx11=-0.002900786995
Iter=12***x12=1.428894042969***Erro=0.000042716788***fx12=0.001884714249
Iter=13***x13=1.428863525391***Erro=0.000021357938***fx13=-0.000508548320
Iter=14***x14=1.428878784180***Erro=0.000010678969***fx14=0.000687954936
Iter=15***x15=1.428871154785***Erro=0.000005339484***fx15=0.000089671306
Iter=16***x16=1.428867340088***Erro=0.000002669735***fx16=-0.000209446507
Iter=17***x17=1.428869247437***Erro=0.000001334866***fx17=-0.000059889600
Iter=18***x18=1.428870201111***Erro=0.000000667433***fx18=0.000014890353
Iter=19***x19=1.428869724274***Erro=0.000000333716***fx19=-0.000022499749
Iter=20***x20=1.428869962692***Erro=0.000000166858***fx20=-0.000003804729
Iter=21***x21=1.428870081902***Erro=0.000000083429***fx21=0.000005542804
raiz em x= 1.428870
**********************************************************
Valor de limite intervalo= 3.000000000000
Valor de limite intervalo= 4.500000000000
Iter=0***x0=3.750000000000***Erro=0.200000000000***fx0=-7.387934308332
Iter=1***x1=4.125000000000***Erro=0.090909090909***fx1=-3.804266034611
Iter=2***x2=4.312500000000***Erro=0.045454545455***fx2=0.203179671509
Iter=3***x3=4.218750000000***Erro=0.022222222222***fx3=-2.159499811661
Iter=4***x4=4.265625000000***Erro=0.010989010989***fx4=-1.096032805151
Iter=5***x5=4.289062500000***Erro=0.005464480874***fx5=-0.480773151439
Iter=6***x6=4.300781250000***Erro=0.002724795640***fx6=-0.148114638395
Iter=7***x7=4.306640625000***Erro=0.001362397820***fx7=0.025102400396
Iter=8***x8=4.303710937500***Erro=0.000680735194***fx8=-0.062100617147
Iter=9***x9=4.305175781250***Erro=0.000340251786***fx9=-0.018649332490
Iter=10***x10=4.305908203125***Erro=0.000170125893***fx10=0.003188775456
Iter=11***x11=4.305541992188***Erro=0.000085055711***fx11=-0.007739692719
Iter=12***x12=4.305725097656***Erro=0.000042526047***fx12=-0.002277815353
Iter=13***x13=4.305816650391***Erro=0.000021263024***fx13=0.000454890475
Iter=14***x14=4.305770874023***Erro=0.000010631399***fx14=-0.000911609784
Iter=15***x15=4.305793762207***Erro=0.000005315671***fx15=-0.000228396497
Iter=16***x16=4.305805206299***Erro=0.000002657836***fx16=0.000113237777
Iter=17***x17=4.305799484253***Erro=0.000001328916***fx17=-0.000057581662
Iter=18***x18=4.305802345276***Erro=0.000000664458***fx18=0.000027827482
Iter=19***x19=4.305800914764***Erro=0.000000332229***fx19=-0.000014877234
Iter=20***x20=4.305801630020***Erro=0.000000166114***fx20=0.000006475088
Iter=21***x21=4.305801272392***Erro=0.000000083057***fx21=-0.000004201082
Iter=22***x22=4.305801451206***Erro=0.000000041529***fx22=0.000001137001
Iter=23***x23=4.305801361799***Erro=0.000000020764***fx23=-0.000001532041
raiz em x= 4.305801
**********************************************************
Valor de limite intervalo= 6.000000000000
Valor de limite intervalo= 7.500000000000
Iter=0***x0=6.750000000000***Erro=0.111111111111***fx0=-6.598235257694
Iter=1***x1=7.125000000000***Erro=0.052631578947***fx1=-2.022038175073
Iter=2***x2=7.312500000000***Erro=0.026315789474***fx2=2.158210394544
Iter=3***x3=7.218750000000***Erro=0.012987012987***fx3=-0.207327225352
Iter=4***x4=7.265625000000***Erro=0.006493506494***fx4=0.890082116699
Iter=5***x5=7.242187500000***Erro=0.003246753247***fx5=0.322494571298
Iter=6***x6=7.230468750000***Erro=0.001623376623***fx6=0.053129796964
Iter=7***x7=7.224609375000***Erro=0.000811030008***fx7=-0.078180993744
Iter=8***x8=7.227539062500***Erro=0.000405350628***fx8=-0.012799976150
Iter=9***x9=7.229003906250***Erro=0.000202675314***fx9=0.020095832205
Iter=10***x10=7.228271484375***Erro=0.000101337657***fx10=0.003630719300
Iter=11***x11=7.227905273438***Erro=0.000050666261***fx11=-0.004588923035
Iter=12***x12=7.228088378906***Erro=0.000025332489***fx12=-0.000480176465
Iter=13***x13=7.228179931641***Erro=0.000012666244***fx13=0.001575002650
Iter=14***x14=7.228134155273***Erro=0.000006333122***fx14=0.000547345915
Iter=15***x15=7.228111267090***Erro=0.000003166561***fx15=0.000033567932
Iter=16***x16=7.228099822998***Erro=0.000001583278***fx16=-0.000223308464
Iter=17***x17=7.228105545044***Erro=0.000000791638***fx17=-0.000094871315
Iter=18***x18=7.228108406067***Erro=0.000000395819***fx18=-0.000030651954
Iter=19***x19=7.228109836578***Erro=0.000000197910***fx19=0.000001457924
Iter=20***x20=7.228109121323***Erro=0.000000098955***fx20=-0.000014597031
Iter=21***x21=7.228109478951***Erro=0.000000049477***fx21=-0.000006569558
Iter=22***x22=7.228109657764***Erro=0.000000024739***fx22=-0.000002555818
raiz em x= 7.228110
**********************************************************
Valor de limite intervalo= 10.000000000000
Valor de limite intervalo= 10.500000000000
Iter=0***x0=10.250000000000***Erro=0.025000000000***fx0=1.100718124713
Iter=1***x1=10.125000000000***Erro=0.012345679012***fx1=-1.467986334265
Iter=2***x2=10.187500000000***Erro=0.006134969325***fx2=-0.264357113840
Iter=3***x3=10.218750000000***Erro=0.003067484663***fx3=0.395498336657
Iter=4***x4=10.203125000000***Erro=0.001533742331***fx4=0.060243107477
Iter=5***x5=10.195312500000***Erro=0.000766283525***fx5=-0.103348890345
Iter=6***x6=10.199218750000***Erro=0.000382995021***fx6=-0.021880741026
Iter=7***x7=10.201171875000***Erro=0.000191497511***fx7=0.019098600767
Iter=8***x8=10.200195312500***Erro=0.000095739588***fx8=-0.001411637767
Iter=9***x9=10.200683593750***Erro=0.000047869794***fx9=0.008838329873
Iter=10***x10=10.200439453125***Erro=0.000023934897***fx10=0.003712059363
Iter=11***x11=10.200317382812***Erro=0.000011967449***fx11=0.001149889277
Iter=12***x12=10.200256347656***Erro=0.000005983688***fx12=-0.000130954606
Iter=13***x13=10.200286865234***Erro=0.000002991844***fx13=0.000509447243
Iter=14***x14=10.200271606445***Erro=0.000001495922***fx14=0.000189241295
Iter=15***x15=10.200263977051***Erro=0.000000747961***fx15=0.000029142089
Iter=16***x16=10.200260162354***Erro=0.000000373980***fx16=-0.000050906573
Iter=17***x17=10.200262069702***Erro=0.000000186990***fx17=-0.000010882320
Iter=18***x18=10.200263023376***Erro=0.000000093495***fx18=0.000009129864
raiz em x= 10.200263
**********************************************************
Valor de limite intervalo= 10.000000000000
Valor de limite intervalo= 14.000000000000
Iter=0***x0=12.000000000000***Erro=0.166666666667***fx0=-17.630319143939
Iter=1***x1=13.000000000000***Erro=0.076923076923***fx1=-3.980725271826
Iter=2***x2=13.500000000000***Erro=0.038461538462***fx2=8.239557688375
Iter=3***x3=13.250000000000***Erro=0.019230769231***fx3=0.794534284089
Iter=4***x4=13.125000000000***Erro=0.009523809524***fx4=-1.796326148029
Iter=5***x5=13.187500000000***Erro=0.004739336493***fx5=-0.562822197648
Iter=6***x6=13.218750000000***Erro=0.002369668246***fx6=0.098671171462
Iter=7***x7=13.203125000000***Erro=0.001183431953***fx7=-0.236141716887
Iter=8***x8=13.210937500000***Erro=0.000591366056***fx8=-0.069779405942
Iter=9***x9=13.214843750000***Erro=0.000295683028***fx9=0.014181303290
Iter=10***x10=13.212890625000***Erro=0.000147819660***fx10=-0.027864748409
Iter=11***x11=13.213867187500***Erro=0.000073904368***fx11=-0.006858202518
Iter=12***x12=13.214355468750***Erro=0.000036952184***fx12=0.003657423411
Iter=13***x13=13.214111328125***Erro=0.000018475751***fx13=-0.001601420423
Iter=14***x14=13.214233398438***Erro=0.000009237875***fx14=0.001027743667
Iter=15***x15=13.214172363281***Erro=0.000004618916***fx15=-0.000286902821
Iter=16***x16=13.214202880859***Erro=0.000002309458***fx16=0.000370404311
Iter=17***x17=13.214187622070***Erro=0.000001154729***fx17=0.000041746717
Iter=18***x18=13.214179992676***Erro=0.000000577364***fx18=-0.000122579059
Iter=19***x19=13.214183807373***Erro=0.000000288682***fx19=-0.000040416422
raiz em x= 13.214186
**********************************************************
Valor de limite intervalo= 14.000000000000
Valor de limite intervalo= 17.000000000000
Iter=0***x0=15.500000000000***Erro=0.096774193548***fx0=-13.270718630619
Iter=1***x1=16.250000000000***Erro=0.046153846154***fx1=-0.214224432031
Iter=2***x2=16.625000000000***Erro=0.023076923077***fx2=11.699300319663
Iter=3***x3=16.437500000000***Erro=0.011538461538***fx3=4.696498947434
Iter=4***x4=16.343750000000***Erro=0.005769230769***fx4=2.061939013179
Iter=5***x5=16.296875000000***Erro=0.002884615385***fx5=0.885997139672
Iter=6***x6=16.273437500000***Erro=0.001442307692***fx6=0.327153376188
Iter=7***x7=16.261718750000***Erro=0.000721153846***fx7=0.054365765197
Iter=8***x8=16.255859375000***Erro=0.000360446954***fx8=-0.080443840188
Iter=9***x9=16.258789062500***Erro=0.000180191002***fx9=-0.013168918380
Iter=10***x10=16.260253906250***Erro=0.000090095501***fx10=0.020565794941
Iter=11***x11=16.259521484375***Erro=0.000045047751***fx11=
0.003690301011
Iter=12***x12=16.259155273438***Erro=0.000022523368***fx12=-0.004741340527
Iter=13***x13=16.259338378906***Erro=0.000011261557***fx13=-0.000526028027
Iter=14***x14=16.259429931641***Erro=0.000005630779***fx14=0.001582009386
Iter=15***x15=16.259384155273***Erro=0.000002815389***fx15=0.000527958908
Iter=16***x16=16.259361267090***Erro=0.000001407695***fx16=0.000000957498
Iter=17***x17=16.259349822998***Erro=0.000000703847***fx17=-0.000262537250
Iter=18***x18=16.259355545044***Erro=0.000000351923***fx18=-0.000130790373
Iter=19***x19=16.259358406067***Erro=0.000000175962***fx19=-0.000064916561
Iter=20***x20=16.259359836578***Erro=0.000000087981***fx20=-0.000031979563
Iter=21***x21=16.259360551834***Erro=0.000000043990***fx21=-0.000015511040
Iter=22***x22=16.259360909462***Erro=0.000000021995***fx22=-0.000007276773
Iter=23***x23=16.259361088276***Erro=0.000000010998***fx23=-0.000003159638
Iter=24***x24=16.259361177683***Erro=0.000000005499***fx24=-0.000001101070
raiz em x= 16.259361
**********************************************************
**************************************
f(x)=xtan(x)-100******ntol=10^-6
**************************************
Valor de limite intervalo= 1.550000000000
Valor de limite intervalo= 1.560000000000
Iter=1***x1=1.555000000000***Erro=0.003215434084***fx1=-1.567580776113
Iter=2***x2=1.557500000000***Erro=0.001607717042***fx2=17.130711230988
Iter=3***x3=1.556250000000***Erro=0.000803858521***fx3=6.978225854791
Iter=4***x4=1.555625000000***Erro=0.000401929260***fx4=2.529308537053
Iter=5***x5=1.555312500000***Erro=0.000200964630***fx5=0.439524659989
Iter=6***x6=1.555156250000***Erro=0.000100472219***fx6=-0.574053118149
Iter=7***x7=1.555234375000***Erro=0.000050233586***fx7=-0.069808240357
Iter=8***x8=1.555273437500***Erro=0.000025116793***fx8=0.184217405602
Iter=9***x9=1.555253906250***Erro=0.000012558397***fx9=0.057044985514
Iter=10***x10=1.555244140625***Erro=0.000006279159***fx10=-0.006421451537
Iter=11***x11=1.555249023437***Erro=0.000003139579***fx11=0.025301801579
Iter=12***x12=1.555246582031***Erro=0.000001569790***fx12=0.009437684841
Iter=13***x13=1.555245361328***Erro=0.000000784895***fx13=0.001507494255
Iter=14***x14=1.555244750977***Erro=0.000000392447***fx14=-0.002457134223
Iter=15***x15=1.555245056152***Erro=0.000000196224***fx15=-0.000474858882
Iter=16***x16=1.555245208740***Erro=0.000000098112***fx16=0.000516307961
Iter=17***x17=1.555245132446***Erro=0.000000049056***fx17=0.000020722108
Iter=18***x18=1.555245094299***Erro=0.000000024528***fx18=-0.000227068995
Iter=19***x19=1.555245113373***Erro=0.000000012264***fx19=-0.000103173596
Iter=20***x20=1.555245122910***Erro=0.000000006132***fx20=-0.000041225782
Iter=21***x21=1.555245127678***Erro=0.000000003066***fx21=-0.000010251846
Iter=22***x22=1.555245130062***Erro=0.000000001533***fx22=0.000005235129
Iter=23***x23=1.555245128870***Erro=0.000000000766***fx23=-0.000002508359
Iter=24***x24=1.555245129466***Erro=0.000000000383***fx24=0.000001363385
raiz em x= 1.555245
**********************************************************
Valor de limite intervalo= 4.000000000000
Valor de limite intervalo= 4.700000000000
Iter=1***x1=4.350000000000***Erro=0.080459770115***fx1=-88.526446532962
Iter=2***x2=4.525000000000***Erro=0.038674033149***fx2=-76.135677673822
Iter=3***x3=4.612500000000***Erro=0.018970189702***fx3=-53.977416852063
Iter=4***x4=4.656250000000***Erro=0.009395973154***fx4=-17.145672804434
Iter=5***x5=4.678125000000***Erro=0.004697986577***fx5=36.478426213409
Iter=6***x6=4.667187500000***Erro=0.002348993289***fx6=3.182648049102
Iter=7***x7=4.661718750000***Erro=0.001173118820***fx7=-8.077614401619
Iter=8***x8=4.664453125000***Erro=0.000586215560***fx8=-2.768401478214
Iter=9***x9=4.665820312500***Erro=0.000293107780***fx9=0.119827495120
Iter=10***x10=4.665136718750***Erro=0.000146532415***fx10=-1.345163770890
Iter=11***x11=4.665478515625***Erro=0.000073260840***fx11=-0.618001415493
Iter=12***x12=4.665649414062***Erro=0.000036629078***fx12=-0.250434904925
Iter=13***x13=4.665734863281***Erro=0.000018314204***fx13=-0.065642542692
Iter=14***x14=4.665777587891***Erro=0.000009157102***fx14=0.027007533831
Iter=15***x15=4.665756225586***Erro=0.000004578530***fx15=-0.019338710842
Iter=16***x16=4.665766906738***Erro=0.000002289265***fx16=0.003829106246
Iter=17***x17=4.665761566162***Erro=0.000001144631***fx17=-0.007756128154
Iter=18***x18=4.665764236450***Erro=0.000000572315***fx18=-0.001963842475
Iter=19***x19=4.665765571594***Erro=0.000000286158***fx19=0.000932548998
Iter=20***x20=4.665764904022***Erro=0.000000143079***fx20=-0.000515667458
Iter=21***x21=4.665765237808***Erro=0.000000071539***fx21=0.000208435589
Iter=22***x22=4.665765070915***Erro=0.000000035770***fx22=-0.000153617230
Iter=23***x23=4.665765154362***Erro=0.000000017885***fx23=0.000027408855
Iter=24***x24=4.665765112638***Erro=0.000000008942***fx24=-0.000063104267
Iter=25***x25=4.665765133500***Erro=0.000000004471***fx25=-0.000017847726
Iter=26***x26=4.665765143931***Erro=0.000000002236***fx26=0.000004780559
Iter=27***x27=4.665765138716***Erro=0.000000001118***fx27=-0.000006533584
raiz em x= 4.665765
**********************************************************
Valor de limite intervalo= 6.000000000000
Valor de limite intervalo= 7.800000000000
Iter=1***x1=6.900000000000***Erro=0.130434782609***fx1=-95.107133060310
Iter=2***x2=7.350000000000***Erro=0.061224489796***fx2=-86.672317499319
Iter=3***x3=7.575000000000***Erro=0.029702970297***fx3=-73.555785993110
Iter=4***x4=7.687500000000***Erro=0.014634146341***fx4=-54.251134825961
Iter=5***x5=7.743750000000***Erro=0.007263922518***fx5=-30.034968345839
Iter=6***x6=7.771875000000***Erro=0.003618817853***fx6=-5.556931594391
Iter=7***x7=7.785937500000***Erro=0.001809408926***fx7=14.248165529578
Iter=8***x8=7.778906250000***Erro=0.000904704463***fx8=3.419863612355
Iter=9***x9=7.775390625000***Erro=0.000452147702***fx9=-1.268913884677
Iter=10***x10=7.777148437500***Erro=0.000226073851***fx10=1.021941687128
Iter=11***x11=7.776269531250***Erro=0.000113024149***fx11=-0.136415314247
Iter=12***x12=7.776708984375***Erro=0.000056512075***fx12=0.439475736712
Iter=13***x13=7.776489257812***Erro=0.000028256037***fx13=0.150715339761
Iter=14***x14=7.776379394531***Erro=0.000014128019***fx14=0.006947160098
Iter=15***x15=7.776324462891***Erro=0.000007063959***fx15=-0.064784682624
Iter=16***x16=7.776351928711***Erro=0.000003531967***fx16=-0.028931426078
Iter=17***x17=7.776365661621***Erro=0.000001765981***fx17=-0.010995300873
Iter=18***x18=7.776372528076***Erro=0.000000882989***fx18=-0.002024862569
Iter=19***x19=7.776375961304***Erro=0.000000441495***fx19=0.002460950692
Iter=20***x20=7.776374244690***Erro=0.000000220747***fx20=0.000217994547
Iter=21***x21=7.776373386383***Erro=0.000000110374***fx21=-0.000903446389
Iter=22***x22=7.776373815536***Erro=0.000000055187***fx22=-0.000342729016
Iter=23***x23=7.776374030113***Erro=0.000000027593***fx23=-0.000062368009
Iter=24***x24=7.776374137402***Erro=0.000000013797***fx24=0.000077813076
Iter=25***x25=7.776374083757***Erro=0.000000006898***fx25=0.000007722485
Iter=26***x26=7.776374056935***Erro=0.000000003449***fx26=-0.000027322774
Iter=27***x27=7.776374070346***Erro=0.000000001725***fx27=-0.000009800147
Iter=28***x28=7.776374077052***Erro=0.000000000862***fx28=-0.000001038832
Iter=29***x29=7.776374080405***Erro=0.000000000431***fx29=0.000003341826
Iter=30***x30=7.776374078728***Erro=0.000000000216***fx30=0.000001151498
raiz em x= 7.776374
**********************************************************
Valor de limite intervalo= 10.000000000000
Valor de limite intervalo= 10.900000000000
Iter=1***x1=10.450000000000***Erro=0.043062200957***fx1=-82.785101216852
Iter=2***x2=10.675000000000***Erro=0.021077283372***fx2=-67.848988789105
Iter=3***x3=10.787500000000***Erro=0.010428736964***fx3=-48.905904525715
Iter=4***x4=10.843750000000***Erro=0.005187319885***fx4=-29.126600962983
Iter=5***x5=10.871875000000***Erro=0.002586950273***fx5=-12.559186754497
Iter=6***x6=10.885937500000***Erro=0.001291804220***fx6=-1.107232268938
Iter=7***x7=10.892968750000***Erro=0.000645902110***fx7=5.790734779402
Iter=8***x8=10.889453125000***Erro=0.000322951055***fx8=2.227908339276
Iter=9***x9=10.887695312500***Erro=0.000161475527***fx9=0.533268514327
Iter=10***x10=10.886816406250***Erro=0.000080731246***fx10=-0.293585193907
Iter=11***x11=10.887255859375***Erro=0.000040365623***fx11=0.118170739115
Iter=12***x12=10.887036132813***Erro=0.000020182404***fx12=-0.088122420754
Iter=13***x13=10.887145996094***Erro=0.000010091202***fx13=0.014920045333
Iter=14***x14=10.887091064453***Erro=0.000005045576***fx14=-0.036627176634
Iter=15***x15=10.887118530273***Erro=0.000002522781***fx15=-0.010860067818
Iter=16***x16=10.887132263184***Erro=0.000001261391***fx16=0.002028362598
Iter=17***x17=10.887125396729***Erro=0.000000630695***fx17=-0.004416259074
Iter=18***x18=10.887128829956***Erro=0.000000315347***fx18=-0.001194049862
Iter=19***x19=10.887130546570***Erro=0.000000157674***fx19=0.000417130961
Iter=20***x20=10.887129688263***Erro=0.000000078837***fx20=-0.000388465802
Iter=21***x21=10.887130117416***Erro=0.000000039418***fx21=0.000014330992
Iter=22***x22=10.887129902840***Erro=0.000000019709***fx22=-0.000187067803
Iter=23***x23=10.887130010128***Erro=0.000000009855***fx23=-0.000086368505
Iter=24***x24=10.887130063772***Erro=0.000000004927***fx24=-0.000036018781
Iter=25***x25=10.887130090594***Erro=0.000000002464***fx25=-0.000010843900
Iter=26***x26=10.887130104005***Erro=0.000000001232***fx26=0.000001743545
Iter=27***x27=10.887130097300***Erro=0.000000000616***fx27=-0.000004550177
Iter=28***x28=10.887130100653***Erro=0.000000000308***fx28=-0.000001403317
raiz em x= 10.887130
**********************************************************
Valor de limite intervalo= 13.000000000000
Valor de limite intervalo= 14.000000000000
Iter=1***x1=13.500000000000***Erro=0.037037037037***fx1=-81.760442311625
Iter=2***x2=13.750000000000***Erro=0.018181818182***fx2=-66.278109442751
Iter=3***x3=13.875000000000***Erro=0.009009009009***fx3=-48.293821653219
Iter=4***x4=13.937500000000***Erro=0.004484304933***fx4=-31.126350377050
Iter=5***x5=13.968750000000***Erro=0.002237136465***fx5=-17.844200383060
Iter=6***x6=13.984375000000***Erro=0.001117318436***fx6=-9.187738267546
Iter=7***x7=13.992187500000***Erro=0.000558347292***fx7=-4.165613875595
Iter=8***x8=13.996093750000***Erro=0.000279095730***fx8=-1.447455875590
Iter=9***x9=13.998046875000***Erro=0.000139528394***fx9=-0.031515069072
Iter=10***x10=13.999023437500***Erro=0.000069764197***fx10=0.691374205262
Iter=11***x11=13.998535156250***Erro=0.000034882099***fx11=0.328664435170
Iter=12***x12=13.998291015625***Erro=0.000017441049***fx12=0.148260067822
Iter=13***x13=13.998168945312***Erro=0.000008720525***fx13=0.058294052787
Iter=14***x14=13.998107910156***Erro=0.000004360262***fx14=0.013369906033
Iter=15***x15=13.998077392578***Erro=0.000002180126***fx15=-0.009077474753
Iter=16***x16=13.998092651367***Erro=0.000001090063***fx16=0.002144991929
Iter=17***x17=13.998085021973***Erro=0.000000545031***fx17=-0.003466547289
Iter=18***x18=13.998088836670***Erro=0.000000272516***fx18=-0.000660854155
Iter=19***x19=13.998090744019***Erro=0.000000136258***fx19=0.000742049767
Iter=20***x20=13.998089790344***Erro=0.000000068129***fx20=0.000040593026
Iter=21***x21=13.998089313507***Erro=0.000000034064***fx21=-0.000310131760
Iter=22***x22=13.998089551926***Erro=0.000000017032***fx22=-0.000134769666
Iter=23***x23=13.998089671135***Erro=0.000000008516***fx23=-0.000047088394
Iter=24***x24=13.998089730740***Erro=0.000000004258***fx24=-0.000003247703
Iter=25***x25=13.998089760542***Erro=0.000000002129***fx25=0.000018672657
Iter=26***x26=13.998089745641***Erro=0.000000001065***fx26=0.000007712476
Iter=27***x27=13.998089738190***Erro=0.000000000532***fx27=0.000002232386
raiz em x= 13.998090
**********************************************************
Valor de limite intervalo= 17.000000000000
Valor de limite intervalo= 17.200000000000
Iter=1***x1=17.100000000000***Erro=0.005847953216***fx1=-5.361906000596
Iter=2***x2=17.150000000000***Erro=0.002923976608***fx2=32.457067045875
Iter=3***x3=17.125000000000***Erro=0.001461988304***fx3=10.496065939487
Iter=4***x4=17.112500000000***Erro=0.000730994152***fx4=1.976265933780
Iter=5***x5=17.106250000000***Erro=0.000365363537***fx5=-1.824470038932
Iter=6***x6=17.109375000000***Erro=0.000182681768***fx6=0.041163863229
Iter=7***x7=17.107812500000***Erro=0.000091332542***fx7=-0.900098505166
Iter=8***x8=17.108593750000***Erro=0.000045664186***fx8=-0.431607755051
Iter=9***x9=17.108984375000***Erro=0.000022831571***fx9=-0.195760747945
Iter=10***x10=17.109179687500***Erro=0.000011415655***fx10=-0.077433608278
Iter=11***x11=17.109277343750***Erro=0.000005707795***fx11=-0.018168722414
Iter=12***x12=17.109326171875***Erro=0.000002853898***fx12=0.011489100618
Iter=13***x13=17.109301757813***Erro=0.000001426947***fx13=-0.003341927429
Iter=14***x14=17.109313964844***Erro=0.000000713473***fx14=0.004073057346
Iter=15***x15=17.109307861328***Erro=0.000000356737***fx15=0.000365432661
Iter=16***x16=17.109304809570***Erro=0.000000178368***fx16=-0.001488280456
Iter=17***x17=17.109306335449***Erro=0.000000089184***fx17=-0.000561432167
Iter=18***x18=17.109307098389***Erro=0.000000044592***fx18=-0.000098001820
Iter=19***x19=17.109307479858***Erro=0.000000022296***fx19=0.000133714905
Iter=20***x20=17.109307289124***Erro=0.000000011148***fx20=0.000017856412
Iter=21***x21=17.109307193756***Erro=0.000000005574***fx21=-0.000040072737
Iter=22***x22=17.109307241440***Erro=0.000000002787***fx22=-0.000011108171
Iter=23***x23=17.109307265282***Erro=0.000000001394***fx23=0.000003374120
Iter=24***x24=17.109307253361***Erro=0.000000000697***fx24=-0.000003867027
raiz em x= 17.109307
**********************************************************

S-ar putea să vă placă și