Post Reply 
Acron RPN announces v3.0 BETA
09-06-2017, 09:45 PM (This post was last modified: 09-06-2017 11:12 PM by vanLudwig.)
Post: #15
RE: Acron RPN announces v3.0 BETA
I'm pretty sure I remember my numeric algorithms professor saying that doing a trapezoidal Riemann sum wasn't worth the added cost over rectangular - you were better off spending the extra time doing additional iterations. Not sure whether I mis-remember that, or if he was just wrong, but when I sat down and really thought about it, I was able to switch my algorithm to use trapezoids with almost no cost. That improved the precision by 3-5 decimal places

0.333283335000000 -> 0.333333335000000
2.302990159819040 -> 2.302585159819040

Then I changed from 10,000 iterations to 25,000 iterations. That improved the x^2 by two digits; it only improved the 1/x by half a digit.

0.333333335000000 -> 0.333333333600000
2.302585159819040 -> 2.302585103686040

That seems like a good improvement, and even with 25,000 iterations, I don't notice any slow down. I'm currently looking at releasing BETA 2 this weekend - these changes will be in it. Thanks for the great suggestion.

On a side note, how did you insert math equations in a forum post? That is really cool.
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
Acron RPN announces v3.0 BETA - vanLudwig - 08-27-2017, 05:49 PM
RE: Acron RPN announces v3.0 BETA - vanLudwig - 09-06-2017 09:45 PM
RE: Acron RPN announces v3.0 BETA - Dieter - 09-07-2017, 06:51 AM
RE: Acron RPN announces v3.0 BETA - Dieter - 09-07-2017, 07:59 PM
RE: Acron RPN announces v3.0 BETA - Dieter - 09-07-2017, 06:29 PM
RE: Acron RPN announces v3.0 BETA - Dieter - 06-15-2018, 06:26 PM



User(s) browsing this thread: 2 Guest(s)