Take the 2-minute tour ×
Mathematica Stack Exchange is a question and answer site for users of Mathematica. It's 100% free, no registration required.

I'm having trouble plotting the result of FindDiferrenceRoot[], for following where a->(2/3) and n from 0 to 20:

                   a/Sqrt[2]]*((-1)^k*n!)/(k!^2*(n - k)!))/(2*k + 1), {k, 0, n}]]

Please advise.

share|improve this question

closed as too localized by Oleksandr R., acl, rm -rf, Sjoerd C. de Vries Aug 6 '12 at 21:22

This question is unlikely to help any future visitors; it is only relevant to a small geographic area, a specific moment in time, or an extraordinarily narrow situation that is not generally applicable to the worldwide audience of the internet. For help making this question more broadly applicable, visit the help center.If this question can be reworded to fit the rules in the help center, please edit the question.

I suspect the main problem here is that FindDifferenceRoot isn't a Mathematica function (the DifferenceRoot is actually being produced by Sum). Given that both of your questions so far demonstrate incorrect function usage and have only admitted answers that guess at what you really meant to do, I'd ask you to please consider what it is you're asking (and whether the answers will be useful to others in future) and, by a careful reading of the documentation, try to identify why problems might have arisen before posting further questions. Thanks for your consideration! –  Oleksandr R. Aug 3 '12 at 12:29
(As it is, I'm voting to close this question, since you already got your answer, and, given the nonexistence of FindDifferenceRoot, it seems exceedingly unlikely that anyone else could be benefited by keeping this around for reference.) –  Oleksandr R. Aug 3 '12 at 12:36
what is FindDifferenceRoot? –  acl Aug 3 '12 at 14:58
add comment

1 Answer 1

up vote 2 down vote accepted
a[n_, k_] := a[n, k] = (-1)^k n!/((k!)^2 (n - k)!)
r[n_, b_] := Sum[2^k (2 k)! a[n, k] HermiteH[-2 k - 1, b/Sqrt[2]], {k, 0, n}]

ListLinePlot[Table[r[i, 2/3.], {i, 0, 20}], PlotRange -> Full]

Mathematica graphics

share|improve this answer
add comment

Not the answer you're looking for? Browse other questions tagged or ask your own question.