Avgrc

We're glad you came by, but you might find what you're looking for elsewhere.

TI-Basic Developer is not the site it once was. While its information on commands and other calculator features remains almost second-to-none, its forum, archives, and even hosting service, Wikidot, have been decaying for years. The calculator community would love to see what you're working on, or help you in your next coding adventure, but TI-Basic Developer is no longer the place to do it.

Instead, you should head over to Cemetech (primarily American) or TI-Planet (primarily international). Both are active, well-established forums with their own archives, chatrooms, reference material, and abundant coding tools and resources. We'll see you there, we hope.

sample.png

Command Summary

Returns the forward-difference quotient (average
rate of change).

Command Syntax

avgRC(expression1, var [,h])

Menu Location

This command can only be found in the CATALOG

Calculator Compatibility

This command works on all calculators.

Token Size

? byte(s)

AvgRC() returns an expression equal to the following formula:

(1)
\begin{align} \frac{f(x+h)-f(x)}{h} \end{align}

h is the step value, which defaults to 0.001.

:avgRC(f(x),x,h)
           (f(x+h)-f(x))/h
:avgRC(sin(x),x,h)|x=2
          sin(h+2)-sin(2)/h
:avgRC(x^2-x+2,x)
          2.*(x-.4995)
:avgRC(x^2-x+2,x,.1)
          2.*(x-.45)
:avgRC(x^2-x+2,x,3)
          2*(x-1)

Error Conditions

Related Commands

  • Command 1
  • Command 2
  • Command 3

See Also

  • Design Concept 1
  • Design Concept 2
  • Technique 1
Unless otherwise stated, the content of this page is licensed under Creative Commons Attribution-Noncommercial 2.5 License.