'\.S(-3;3;EXP(-Y^2)*EXP(-(X-Y)^2);Y)'
and plot it through SYMB->GRAPH->PLOT->ERASE and then DRAW. I found
this example on http://www.caffnib.co.uk/calculators/calculators.html.
1)
With the official ROM C-2.09, my HP 50g takes about 15 minutes to plot
the integral convolution; it's too slow! Is there a faster way?
While with the new official ROM C-2.15, my HP 50g gets the following
message, when I try to plot the graph as before:
"Error: Bad Argument Type". But if I write the integral convolution
through the PLOT-FUNCTION window [LS] + [F1]:
Y1(X)='\.S(-3;3;EXP(-Y^2)*EXP(-(X-Y)^2);Y)'
then my HP 50g manages to plot the integral convolution! It's a bit
strange... Is it a bug?
2)
When I try to plot the absolute value (http://en.wikipedia.org/wiki/
Absolute_value) of certain functions only valid for x> 0, I get a
graph with a branch also for x<0, both ROM C-2.15 and C-2.09. For
example:
'ABS(LN(X))'
'ABS(1-1/\v/X)'
It's a bug! :-(
Cheers,
Simone.
>
> When I try to plot the absolute value (http://en.wikipedia.org/wiki/
> Absolute_value) of certain functions only valid for x> 0, I get a
> graph with a branch also for x<0, both ROM C-2.15 and C-2.09. For
> example:
>
> 'ABS(LN(X))'
> 'ABS(1-1/\v/X)'
>
> It's a bug! :-(
>
It is not a bug, the manual (AUR: http://www.hpcalc.org/details.php?id=6374
) for ABS says:
(x,y) → \v/(x2 + y2)
And for LN and SQRT, it goes into quite some details about what are
their values for negative numbers.
As to the convolution part of your post, I will have to check
Arnaud
> When I try to plot the absolute value (http://en.wikipedia.org/wiki/
> Absolute_value) of certain functions only valid for x> 0,
> I get a graph with a branch also for x<0, both ROM C-2.15 and C-2.09
> For example:
> 'ABS(LN(X))'
> 'ABS(1-1/\v/X)'
> It's a bug! :-(
-2. @ Real number
LN @ (.69314718056,3.14159265359) Complex number
ABS @ 3.21715051171 Real number
However, the special black tape used by "Click and Clack, the Tappet Brothers"
to cover the "Check Engine" (and other dashboard) lights on cars,
can also be used to cover the left half of the calculator screen :)
http://www.cartalk.com/content/columns/Archive/2000/December/01.html
http://www.npr.org/templates/story/story.php?storyId=2100834
[r->] [OFF]
I think that you are evaluating the whole integral
over and over again each time a point is plotted
If you could find a symbolic solution first and plot that
then it would be like 65 * faster to plot
(depending on the complexity of the f and f'
and of how long it takes to find the symbolic solution 1st
if that is possible - it depends...)
--
VPN
The problem is that, in general, calculate the convolution
symbolically is pretty difficult!
In this particular case, I think a general convolution is too much.
Let f(x) = int(exp(-y^2 - (y-x)^2) dy) (indefinite integral).
After some algebra, modulo mistakes,
f(x) = exp(-x^2/2) int(exp(-2(y-x/2)^2).
With some scaling and shifting, this becomes the standard gaussian
integral,
which is already in progress:)
Simone.