6 Years Ago 6 Years Ago hi, after a long time been posting in this forum.I am trying to manipulate newtons divide difference formula ,actually like this [see here](http://www.dailyfreecode.com/code/newtons-divided-difference-method-2381.aspx) but in a different manner .but my code is not working.i am getting disgusting values in my table.can any one please check the errors and tell me what it is .my code is like this.Thanks !!!!! #include #include #include int main() { int x[10],p,i,n,m,k,j; float y[6][5]; printf("how many numbers?"); scanf("%d",&n); for(i=0;i #include using namespace std; int main(void) { … 0 5 8 Years Ago 8 Years Ago The program is supposed to compute the values of [URL="http://mathworld.wolfram.com/GammaFunction.html"]Euler's Gamma Function[/URL] using an infinite product (formula #15 in the link), and it does so decently for low values, but the error gets too big for bigger values. Using both Mathematica and Maxima for reference this is what I get for Gamma(19.9): Gamma(19.9)~9.0406e16 Mathematica and Maxima difference: 9.6e2 Difference between my functions and Mathematica: 1.79e11 Difference between both of my functions: 1.21e5 What surprises me as well is similarity of results for both of my functions, because the second one gets to multiply values like 1e66 and 1e-61, while the … 0 3 9 Years Ago 9 Years Ago Hi, I am developing some code to run on hardware and I am using the sin() and cos() functions inside the standard math.h many times, which slows the program down dramatically. I was wondering if there is a way to "approximate" the sine and cosine of a value (angle is between 0 and 2pi). Apparently there is a way to do it using look up tables but I don't really know how to create one? I would like to do it using just basic arithmetic operators, no math.h functions. Is there a simple way to compute the sine and cosine … 0 7 10 Years Ago HI there. We are currently creating a page which contains (a) 10 Check Boxes (b) for each check box there is a radio button list with 10 values. What we want to achieve is the following When e.g. The first checkbox is checked, the forst radio button list should be made enabled with script - this has been achieved. However, lets say they check the first 3 check boxes, the first 3 radio buttton lists should then be made enabled, which works fine, but now i want to limit the users raning to 3 instead of 10, and also not … 0 1

The End.