Is there a way to isolate the exponent on a number? I usually just write programs to do the current work in my math class at the time, and currently we are doing naming polynomial functions. To name the function by degree, I need to know the exponent of the leading number. This would also allow me to make a program to tell me the end behavior of a function. How can I isolate that exponent so I can save it into a variable to display the name by degree?

Isolating exponent.

Summary:

How can I isolate that exponent so I can save it into a variable to display the name by degree/end behavior of function?