Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

7
  • $\begingroup$ With isn't working on my computer (Mathematica 10.2 on Mac OS X). What version are you using? $\endgroup$ Commented Dec 21, 2015 at 21:28
  • $\begingroup$ @QuantumDot what are int and y terms in your code? $\endgroup$ Commented Dec 21, 2015 at 21:32
  • $\begingroup$ int[i] is a recursively defined symbolic function (the result is usually a polynomial plus some logarithms), y is a similar object (polynomial+logs) but known explicitly (no recursive code). $\endgroup$ Commented Dec 21, 2015 at 21:35
  • $\begingroup$ Ok, here is one way: (f[n_] := # + y; g[n_] := #^2;) &[ Sum[int[i], {i, 1, n}] ] there should be a duplicate somewhere. $\endgroup$ Commented Dec 21, 2015 at 21:36
  • 4
    $\begingroup$ Not the one I've thought about but I think it's good enough: 20766 $\endgroup$ Commented Dec 21, 2015 at 21:39