my $equasion = new Math::Parser('tan(x^4)+2sin(x)'); #### -'tan' |-'x' |-'^' |-'4' -'+' -'2' -'*' -'sin' |-'x'