Questions tagged [polynomial-approximations]

A polynomial approximation is an approximation of a real or complex function by a polynomial.

A polynomial approximation is an approximation of a real or complex by a polynomial.

Methods of polynomial approximation include the Taylor expansion, Chebyshev Polynomial approximation, and Lagrange polynomials.

82 questions
0
votes
1 answer

R - poly.calc not stable when using many points

I've been trying to solve a problem using Lagrange interpolation, which is implemented in poly.calc method (polynom package) in R language. Basically, my problem is to predict the population of a certain country using Lagrange Interpolation. I have…
0
votes
1 answer

gnu scientific library (GSL) cubic polynomial discrepancy in results

The GSL polynomial solver gives me an incorrect result. I have attempted to solve the following polynomial using GSL cubic polynomial solver: x^3-1.96848e20 x^2+9.07605e28 x+9.07605e28 = 0 On Wolframalpha the results…
0
votes
1 answer

How can I make all-in-one polynomial from multi-polynomial?

I'm not familiar with expert math. so I don't know where to start from. I have get a some article like this. I am just following this article description. But this is not easy to me. But I'm not sure how to make just one polynomial equation(or…
Carter
  • 274
  • 2
  • 13
-1
votes
1 answer

Polynomial approximation with intercept on point 0, 0

I need help with calculation of polynomial approximation function with intercept at 0, 0 point. I have few points in Excel like this: Point with chart As you can see i make chart of this point then add trend line with equation. Now i add intercep at…
-1
votes
1 answer

fsolve a polynomial in matlab not working

(5/(r^2*9))- ((2)/(9*(6-r)^2)) - r = 0 would like to solve the above polynomial in matlab: fun= (5/(r^2*9))- ((2)/(9*(6-r)^2))-r; x0 = 10; % some initial point x = fsolve(fun,x0) Not working! Error: Undefined operator '.^' for input arguments of…
Mixter
  • 193
  • 9
-3
votes
1 answer

Polynomial regression model to predict values for a variable with 500 rows

There are around 500 values planned and on the basis of this I have to predict new values actual. Kindly help me with the coding, here I'm showing what I am doing manually: predict(poly_reg, data.frame(planned= 48.80000, …
-3
votes
1 answer

is it possible to write a program that can find zeros of a certain function?

In Gauss-legendre integration we need to find zeros of the legendre function but i can't find a way to write code that enable me to do that? I understand there are list of "xi"s out there by which this function equals to zero but can we write…
1 2 3 4 5
6