Σ from i=1 to n of(n)(n+1)/2 What is the upper limit of computation for a give n? is it O(n^3) O(n^2)?
My add method works, however when I create a new SparsePolynomial object (at the bottom of the add method), the value of the newSparePolynomial changes when I debug it and I can\'t figure out where th
What\'s wrong with this implementation of the Durand-Kerner algorithm (here) ? def durand_kerner(poly, start=complex(.4, .9), epsilon=10**-16):#float(\'-inf\')):
I\'m having a mental block here, and algebra not really being my开发者_运维知识库 thing, can you tell me how to re-write the JavaScript code below to derive the variable, c, in terms of a and b?:
One would expect and hope that if you ask Mathematica to find the roots of a polynomial, it should give the same (approximate) answers whether you do this symbolically, then find numerical approximati
I want to interpolate a polynomial with the Lagrange method, but this code doesn\'t work: def interpolate(x_values, y_values):
I\'m trying to do some \"complex\" math where I need to call upon some of JavaScript\'s Math properties to solve the quadratic equation.Does the following method work?
I\'ve read the answers to this question and they are quite helpful, but I need help. I have an example data set in R as follows:
I have the equation y = 3(x+1)^2 + 5(x+1)^4. Using Horner\'s scheme I could evaluate this polynomial in this form, y = 8+x(26+x(33+x(20+5x))), th开发者_StackOverflow社区us requiring 8 arithmetic oper
Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow.