In Xcas, the composition of functions is done with the infixed operator @ (see Section 8.1.1). For example:
| (sq@sin+id)(x) | 
| 
 | 
The repeated composition of a function with itself several times is done with the infixed operator @@ (see Section 8.1.1). For example:
| (sin@@3)(x) | 
| 
 |