Accuracy of Integral with epsilon

10092021, 09:50 PM
Post: #19




RE: Accuracy of Integral with epsilon
(10092021 02:22 AM)Valentin Albillo Wrote: Someone here is not paying attention. You do realize that it is a fallacy to assume exp(x) and cosh(x)+sinh(x) equate numerically, in addition to algebraically? For one, sinh(x) typically uses expm1(x)=exp(x)1 for higher accuracy sinh(x) = (z+z/(z+1))/2 with z=expm1(x). This asymmetrically affects cosh(x)+sinh(x) for x<0. The difference grows with smaller x<0, which is easy to see when we plug in expm1(x).  Rob "I count on old friends to remain rational" 

« Next Oldest  Next Newest »

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