You are on page 1of 1

bc is an arbitrary precision calculator language.

It can perform arithmetic (bot h integer and real) to arbitrary precision, and it supports simple programming. It is started by the command: bc -l files The optional -l flag loads a mathematics library, and files (also optional) is a list of files containing bc commands. There are some other flags, but they do n ot greatly change the functionality. The mathematics library makes the following functions available to bc: s(x): the sine of x in radians c(x): the cosine of x in radians a(x): the inverse tangent of x (The result is returned in radians.) l(x): the natural logarithm of x e(x): the exponential function ex j(n,x): the Bessel function of order n of x