Second derivative with complex numbers
|
02-13-2021, 02:50 PM
(This post was last modified: 02-13-2021 03:15 PM by Werner.)
Post: #11
|
|||
|
|||
RE: Second derivative with complex numbers
That calls for a new rewrite, simpler again.
Another attempt at improvement, I take h = ε*√(2*i) = (ε,ε) - then both h and h^2 are exact (in a decimal calculator. This is the hpmuseum, after all) Code: 00 { 71-Byte Prgm } Still, for F', I favour the f'(x) = Im(f(x+ih))/h formula, as it needs only one function evaluation. Then the routines become: Code: 00 { 77-Byte Prgm } Cheers, Werner 41CV†,42S,48GX,49G,DM42,DM41X,17BII,15CE,DM15L,12C,16CE |
|||
« Next Oldest | Next Newest »
|
Messages In This Thread |
Second derivative with complex numbers - peacecalc - 02-09-2021, 06:06 AM
RE: Second derivative with complex numbers - Albert Chan - 02-09-2021, 03:45 PM
RE: Second derivative with complex numbers - peacecalc - 02-11-2021, 09:49 AM
RE: Second derivative with complex numbers - Werner - 02-11-2021, 12:36 PM
RE: Second derivative with complex numbers - Albert Chan - 02-11-2021, 02:13 PM
RE: Second derivative with complex numbers - Albert Chan - 02-12-2021, 04:55 PM
RE: Second derivative with complex numbers - Werner - 02-11-2021, 05:49 PM
RE: Second derivative with complex numbers - Werner - 02-11-2021, 07:01 PM
RE: Second derivative with complex numbers - Werner - 02-11-2021, 08:53 PM
RE: Second derivative with complex numbers - peacecalc - 02-13-2021, 09:00 AM
RE: Second derivative with complex numbers - Werner - 02-13-2021 02:50 PM
|
User(s) browsing this thread: 1 Guest(s)