title: Ti-basic passing function as an argument to another function
body: <p>In Matlab you can declare an anonymous function and pass it to another function.</p>
  
  <pre><code>[y] = someFunction(@(x) x.^2 , [a bunch of numbers]);
  </code></pre>
  
  <p>I'd like to do something similar on my TI-89 calculator.  I have a function that takes a "math-function" as one of its arguments and I'm trying to do it like this:</p>
  
  <pre><code>myfunction(3/x,1,2)
  </code></pre>
  
  <p>and my function looks something like this:</p>
  
  <pre><code>myfunction(f,xl,xu)
  Func
  local a,b
  f(xl)→a
  f(xu)→b
  Return [a,b]
  EndFunc
  </code></pre>
  
  <p>I know I can input my functions in the "y=" editor and then access them inside the function but I would really like to be able to input the math-function directly as an argument.  How can I do this?</p>