Skip to content

Xcalc: Public Functions

Read Stanton edited this page Dec 19, 2020 · 24 revisions

Public Functions

def(expr)

  • Definition: Domain of expr

  • Type: Program

  • Output: Stores result in global variable def_val, and full result in global variable def_val_raw

def_info(expr, print)

  • Definition: Domain analysis of expr and derivative of expr. Displays info if print is true

  • Type: Program

  • Output: Stores whether the domains are equal in global variable def_match

def_print(expr)

  • Definition: Same as def(expr) but prints out def_val and def_val_raw

  • Type: Program

range(function)

  • Definition: Range of function

  • Type: Function

fn_info(function)

  • Analysis of function

inverse(function)

  • Inverse function of function

rational_fn(num, den)

  • Rational function analysis

  • (where P is num and Q is den)

crit_points(function)

  • Critical points of function

  • Displays f'(x) and roots of f'(x)

  • Displays 2 domains of f(x) and f'(x)

inflect_points(function)

  • Inflection points of function

  • Displays f''(x) and roots of f''(x)

  • Displays domain of f''(x)

parity(function, out_value)

  • Parity of function (even/odd/neither)

  • Stores result in variable with name out_value

antiderivative(function, variable)

  • Antiderivative of function with respect to variable

syndiv(poly, div)

  • Synthetic division of poly by div

  • Returns a list of the coefficients with the last element

  • the remainder

bernoulli(m)

  • Returns Bernoulli number (+) m (for m>0)

bernoulli_n(m)

  • Returns Bernoulli number (-) m (for m>0)
Clone this wiki locally