Page 1 of 1

Problem 101

Posted: Tue Nov 11, 2008 1:40 pm
by DNS
I wrote down Lagrange method, Newton method, and obtain results that differ by 2 (both incorrect). I use Ruby (for big int) and obtain result, equal to Lagrange's one in C++. After (long double) conversions all results are equal but incorrect.
Test from the problem (N^3) passed successfully. What am I doig wrong?

Re: Problem 101. What am I doing wrong?

Posted: Tue Nov 11, 2008 1:53 pm
by quilan
I'm pretty sure all of the BOPs fit within long integers and don't need to be converted to double. In fact, the entire question can be done with integer math.

Re: Problem 101. What am I doing wrong?

Posted: Wed Nov 12, 2008 9:46 am
by DNS
Thank you, Quilan.
But really I forget last 11th BOP. All my answers are correct now.
Mistakes, like I did, are repugnant-est-est-est.

Re: Problem 101

Posted: Sat Apr 03, 2010 3:28 am
by bobfin
Hi, I'm experiencing some problems with problem 101. My program correctly calculates the FITs for the n^3 sequence but doesn't pass on the tenth degree polynomial. Can anyone confirm the values of my first three FITs:
1
1365
130813

Re: Problem 101

Posted: Sat Apr 03, 2010 6:29 am
by bobfin
No need for a reply to my earlier post. Found my error, my FIT values were Java doubles and I was incurring a rounding error. Problem now solved.

Problem 101

Posted: Thu Mar 29, 2018 11:15 pm
by kenbrooker
Asked for "advice" @ PE.net bottom Page 8 for Problem 101, as glasshopper, on March 13th...
If anyone would care to reply there or, via PM, here @ PE.chat?
Thanks in advance...

Re: Problem 101

Posted: Wed Jun 12, 2019 10:22 pm
by kenbrooker
kenbrooker wrote: Thu Mar 29, 2018 11:15 pm Asked for "HELP!" @ PE.net top of Page 9 for Problem 101, as glasshopper,
If anyone would care to reply there or, via PM, here @ PE.chat?
Thanks in advance...

Re: Problem 101

Posted: Wed Jun 19, 2019 9:12 am
by kenbrooker
Help received from dawghaus4 and
Mission Accomplished and
reported on PE.net;
Thankyou...