Created Sunday 16 August 2020
Built-in Functions (note that all trigonometric functions are in radians):
s(x) sin(x)
c(s) cos(c)
a(c) atan(x)
l(x) ln(x)
e(x) ex
j(n,x) Bessel function
In order to avoid long numeric results being split into multiple lines, use export BC_LINE_LENGTH=0
Function definition:
echo 'define add(a,b) { c=a+b; return c; }; add(4,5)' | bc -l