Advertisement
Guest User

Untitled

a guest
Mar 18th, 2019
79
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.23 KB | None | 0 0
  1. f[1, x_] := x^2
  2.  
  3. f[2,x_] := f[1,x]+x
  4.  
  5. f[3,x_] := f[2,x]+x
  6.  
  7. For[j = 1, j < 6, j++, f[j + 1, x] := f[j, x] + x]
  8.  
  9. $RecursionLimit::reclim2: Recursion depth of 1024 exceeded during evaluation of f[j,x].
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement