X = 12.566 y = - 0.0146181 See AlsoAlso consider the regression methods: Regression/Discrete, Regression/Forsythe, Regression/Orthogonal, Regression/Stiefel Authors Lucian Bentea (August 2005) Source Code #include #include #include #include using namespace std #define PI 3.1415 #define N 12 int main ( ) Output: x = 3.1415 y = - 5.89868e-005 This function for N = 12 points equally spaced in the domain from to. ![]() The X and Y coordinate arrays are initialized by evaluating The N_out variable) for the given function with abscissas equally spaced in the References:Wikipedia, Example 1 The following example displays 20 interpolated values (you may change this amount through ![]() 1/linear-378.png cannot be found in /users/1/linear-378.png.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |