ASKSAGE: Sage Q&A Forum - RSS feedhttps://ask.sagemath.org/questions/Q&A Forum for SageenCopyright Sage, 2010. Some rights reserved under creative commons license.Fri, 20 Dec 2019 19:48:54 +0100Hi, I have a fifth order polynomial in x whose coefficients depend on a certain variable k. Now, I want to find the real roots of that polynomial for each value of k.https://ask.sagemath.org/question/49103/hi-i-have-a-fifth-order-polynomial-in-x-whose-coefficients-depend-on-a-certain-variable-k-now-i-want-to-find-the-real-roots-of-that-polynomial-for/ Hi, I have a fifth order polynomial in x whose coefficients depend on a certain variable k. Now, I want to find the real roots of that polynomial for each value of k, say from 0.1 to 2 in steps of 0.05 and after finding the roots, I need to plot the corresponding root versus the k from which it was obtained. How can I do that? If anyone could help, that would be highly appreciable.
I have already tried to find the roots for each value of k and then got a set of roots. Then I chose the real root. I repeated this process 20 times to get 20 different roots. But this process is very lengthy. Suppose the value of one of the coefficients is changed, then I need to do the thing all over again. So i need to have a single program, where I can include all of that.Fri, 20 Dec 2019 19:48:54 +0100https://ask.sagemath.org/question/49103/hi-i-have-a-fifth-order-polynomial-in-x-whose-coefficients-depend-on-a-certain-variable-k-now-i-want-to-find-the-real-roots-of-that-polynomial-for/