Qurak

N integrate integration strategies introduction

Tutorial 2 steps, run in order in one session. Every step was executed against the engine and the output below is what it produced.

Step 1
NIntegrate[(1/Sqrt[Abs[x - 1]]), {x, 0, 2}]
Output
7781.165464676946
Step 2
points = Reap[NIntegrate[(1/Sqrt[Abs[x - 1]]), {x, 0, 2}, EvaluationMonitor :> Sow[x]]][[2, 1]];
Graphics[{PointSize[0.006], Point /@ N@Transpose[{points, Range[Length[points]]}]}, PlotRange -> All, AspectRatio -> 1, Axes -> True]
Output
-Graphics-

Functions used

Related recipes

All recipes · Function reference · Use this from an MCP client