For expressions like
a1 := sin(1+a/b); a2 := log(1+ a*b); a3 := abs(a^2+b);
how can I get expressions of respective functions. For example
You can use the op() command, which breaks down expressions into their operands. For instance:
op()
f := sin(1+a/b); g := op(0,f); # sin h := op(1,f); # 1+a/b