2018-02-17 00:33:58 +0200 | received badge | ● Famous Question (source) |
2017-03-17 02:43:00 +0200 | received badge | ● Notable Question (source) |
2016-12-16 16:50:39 +0200 | received badge | ● Popular Question (source) |
2016-12-11 10:47:13 +0200 | received badge | ● Student (source) |
2016-10-02 20:07:33 +0200 | asked a question | leading coefficient polynomial Hello everybody, I'm new to sagemath and python in general, and one of my course in Uni uses it... I have a vague and unclear tutorial the prof gave us and for now I know only the most basic commands. I have to write a function that takes a polynomial of any degree and tells me the coefficient of the highest degree member (for example , 2x^4+3x^3 would be 2, 7x^3+2x^4+2 would be 7...). I think the function would have to use "expand", "degree", and of course "coefficient". But i barely have any idea as how to write it. If anyone could help me it would be great, I am kinda lost here... Sorry for sloppy english and thanks in advance. |