division algorithm
Hello,good morning! I am a beginner in the Sagemath program, can you give me a little help? How can I write a program that, given two polynomials p (x) and g (x), determines the Quotient and the remainder of the division of p (x) by g (x). Not being able to use the functions p // g or p% g, but can use the predefined functions .lc (), .degree (), .is unit ().
This looks like homework.
If you want some help, you should ask more precise questions related to your research in solving those exercises, especially where you are locked.