polynomial-math
What is the sum of a sum?
Σ 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)?[详细]
2023-01-28 06:27 分类:问答Polynomials in Java
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[详细]
2023-01-26 20:17 分类:问答Durand-kerner implementation doesn't work
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\')):[详细]
2023-01-22 11:26 分类:问答What's the opposite of JavaScript's Math.pow?
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?:[详细]
2023-01-22 09:09 分类:问答Is this a bug in NSolve in mathematica?
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[详细]
2023-01-21 10:19 分类:问答Lagrange interpolation in Python
I want to interpolate a polynomial with the Lagrange method, but this code doesn\'t work: def interpolate(x_values, y_values):[详细]
2023-01-21 06:17 分类:问答Does this method work for solving the quadratic equation using JavaScript?
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?[详细]
2023-01-19 18:59 分类:问答Fitting polynomial model to data in R
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:[详细]
2023-01-17 21:45 分类:问答Efficient polynomial evaluation with Horner's Algorithm
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[详细]
2023-01-15 20:06 分类:问答Find a root of a polynomial modulo 2^r [closed]
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.[详细]
2023-01-13 05:31 分类:问答