Skip to content

Xcalc: Public Functions

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

Public Functions

def(expr)

  • Description: 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)

  • Description: 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)

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

  • Type: Program

def2(expr, var)

  • Description: Domain of expr with variable var

  • Type: Function

  • Output: Returns list of values where expr is undefined

range(function)

  • Description: Range of function

  • Type: Function

fn_info(function)

  • Description: Analysis of function

  • Type: Program

  • Output: Displays the following:

    • Domain
    • Min and max
    • Intercepts (x and y)
    • Parity
    • Asymptotes (horizontal and vertical)

inverse(function)

  • Description: Inverse function of function

  • Type: Function

rational_fn(num, den)

  • Description: Rational function analysis (where P is num and Q is den)

  • Type: Program

  • Output: Displays the following:

    • Domain
    • Factors of num and den
    • Holes
    • Intercepts (x and y)
    • Asymptotes (horizontal, vertical, slant)

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)

  • Description: Parity of function with name function

  • Type: Function

  • Output: Returns even/odd/neither

antiderivative(function, variable)

  • Description: Antiderivative of function with respect to variable

  • Type: Function

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