Integrate vs. NIntegrate
- To: mathgroup at smc.vnet.net
- Subject: [mg12767] Integrate vs. NIntegrate
- From: Andreas Kull <kull at ifa.hawaii.edu>
- Date: Wed, 10 Jun 1998 03:04:26 -0400
- Organization: University of Hawaii
- Sender: owner-wri-mathgroup at wolfram.com
Hello all, who knows how I can get ride of the following type of problem with undefined limits in NIntegrate? In[1]:=FindRoot[NIntegrate[y,{y,0,x}]==1,{x,0.25}] NIntegrate::"nlim": "\!\(y\) = \!\(x\) is not a valid limit of integration." NIntegrate::"nlim": "\!\(y\) = \!\(x\) is not a valid limit of integration." NIntegrate::"nlim": "\!\(y\) = \!\(x\) is not a valid limit of integration." General::"stop": "Further output of \!\(NIntegrate :: \"nlim\"\) will be suppressed during this calculation." Out[1]:={x->1.41421} It would be nice to have the above example working like Integrate, i.e. In[2]:=FindRoot[Integrate[y,{y,0,x}]==1,{x,0.25}] Out[2]:={x->1.41421} thanks, Andreas