I'm not sure that a calculator program would be super useful in this case, as it's probably quicker to do with your own eye and brain ðŸ˜‰ but in any case, you might have to ask the user for a formula, store it in a string, and then search the string for certain characters. Something like:

`Input "Formula:",Str1 "Constant"â†’Str2 If inString(Str1,"X"):"Linear"â†’Str2 If inString(Str1,"XÂ²"):"Quadratic"â†’Str2 If inString(Str1,"X^3"):"Cubic"â†’Str2 If inString(Str1,"X^4"):"4th degree"â†’Str2 If inString(Str1,"X^5"):"5th degree"â†’Str2 If inString(Str1,"X^6"):"6th degree"â†’Str2 Disp Str2`

And then for determining whether it's a monomial/binomial/trinomial, you could search for + or - signs and count them (assuming the formula is already simplified).

This of course will not work perfectly with polynomials in other forms such as (x+1)(x+2).

Hope that helps get you started. Or if I've missed what you were actually asking for, feel free to clarify.

Simon

P.S. See if you can figure out how to save bytes by modifying the script above to not use `Str2` at all and only rely on `Ans`. Faster and uses less bytes!