HP Forums
Graph of integral - Printable Version

+- HP Forums (https://www.hpmuseum.org/forum)
+-- Forum: HP Calculators (and very old HP Computers) (/forum-3.html)
+--- Forum: HP Prime (/forum-5.html)
+--- Thread: Graph of integral (/thread-2662.html)



Graph of integral - lrdheat - 12-18-2014 07:12 PM

Wondering how to plot integral of abs(sin(x)).

In solve, it works well...I can put integral of (abs(sin(X)),X,0,A)=some value, and solve for A. How do I plot the integral?


RE: Graph of integral - CR Haeger - 12-18-2014 10:23 PM

Try this in Function app:

Enter function into F1.

Enter AREA(F1,0,X) into F2. // toolbox/1. Function/4. AREA

[attachment=1314]

Plot.

[attachment=1315]


RE: Graph of integral - lrdheat - 12-19-2014 02:09 AM

Thanks!

Interestingly, here's some comparisons for int(abs(sin(x)))=4

Actual answer is 2pi=~6.28318530718

In solve Prime comes up with 6.28318305852
In Graph where I used AREA for the integral minus 4, root came up with 6.2831849099, more accurate than the solve app answer.

My CASIO fx-9860GII in solve finds 6.2831844

In graph mode, finding x for y=4, after 6+ minutes produces 6.283145931, less accurate than the solve app.


RE: Graph of integral - lrdheat - 12-19-2014 02:19 AM

Didn't experiment to see how much the size of the domain of the graph and range had on accuracy in finding my graphing solutions for setting the integral equal to 4...on the CASIO, I used a domain of -.2<x<8, range ~-.2<y<9.

On Prime, autoscale produced a domain of about -.2<x<8, range ~-4<y<~1.1