With Xcas, the repeated composition of a function with itself n ∈ ℕ times is done with the infixed operator @@. Input:
Output:
Input: