Solving a numerical integration

*To*: mathgroup at smc.vnet.net*Subject*: [mg5440] Solving a numerical integration*From*: llosas <pere.llosas at imt.dmt.epfl.ch>*Date*: Sat, 7 Dec 1996 00:26:15 -0500*Organization*: epfl*Sender*: owner-wri-mathgroup at wolfram.com

I would like to solve an equation of this kind NIntegrate[f[n],{n,0,x}]==0 (f[x_]=Sqrt[1+x+x^2...) where x is the searched value, and f cannot be integrated analytically. NSolve[NIntegrate[f[n],{n,0,x}]==0,x], tries to evaluate NIntegrate[f[n],{n,0,x}] before assignin a numerical value to x and returns an error. How could this calculation be done without having to write a program that searches the root? Thanks. Pere