Post Reply 
The tanh-sinh quadrature
02-08-2017, 03:20 PM
Post: #14
RE: The tanh-sinh quadrature
(02-08-2017 02:59 PM)emece67 Wrote:  
(02-07-2017 11:48 PM)Namir Wrote:  The translation of your Python code to Excel VBA works .. and is very accurate!!

Thanks Namir. Will you add such VBA code to the Excel from Graeme Dennes to compare it against different Romberg methods?

Unfortunately, I'm still an Excel 101 student, and such things as VBA scripts inside Excel books are alien to me.

As a side, with the Python mpmath package (an arbitrary precision package) you specify the number of decimal digits you want to use by means of the dps value, so you can adjust it to any value you want. I assume that VBA Doubles are always 64 bit floats, so dps must not be changed in your code.

Thanks again & regards.

Excel VBA has 64-bit floats and does not support extended precision like Python (and Matlab?)

Namir
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
The tanh-sinh quadrature - emece67 - 01-31-2017, 03:19 PM
RE: The tanh-sinh quadrature - emece67 - 01-31-2017, 10:03 PM
RE: The tanh-sinh quadrature - Namir - 02-01-2017, 04:13 PM
RE: The tanh-sinh quadrature - Namir - 02-05-2017, 02:23 AM
RE: The tanh-sinh quadrature - emece67 - 02-05-2017, 09:25 AM
RE: The tanh-sinh quadrature - Namir - 02-05-2017, 01:35 PM
RE: The tanh-sinh quadrature - Pekis - 02-05-2017, 05:25 PM
RE: The tanh-sinh quadrature - Namir - 02-07-2017, 09:26 PM
RE: The tanh-sinh quadrature - emece67 - 02-07-2017, 10:59 PM
RE: The tanh-sinh quadrature - Namir - 02-07-2017, 11:18 PM
RE: The tanh-sinh quadrature - Namir - 02-07-2017, 11:48 PM
RE: The tanh-sinh quadrature - emece67 - 02-08-2017, 02:59 PM
RE: The tanh-sinh quadrature - Namir - 02-08-2017 03:20 PM
RE: The tanh-sinh quadrature - Namir - 02-08-2017, 10:25 PM
RE: The tanh-sinh quadrature - Namir - 02-08-2017, 02:19 PM
RE: The tanh-sinh quadrature - emece67 - 03-08-2017, 01:52 AM
RE: The tanh-sinh quadrature - Paul Dale - 03-08-2017, 02:42 AM
RE: The tanh-sinh quadrature - emece67 - 03-08-2017, 09:19 AM
RE: The tanh-sinh quadrature - emece67 - 03-09-2017, 11:30 AM
RE: The tanh-sinh quadrature - emece67 - 03-08-2017, 06:18 PM
RE: The tanh-sinh quadrature - Paul Dale - 03-09-2017, 02:32 AM



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