A=[sin, cos, x->x^2]; B=[asin, acos, x->sqrt(x)];