Second derivative with complex numbers
|
02-11-2021, 07:01 PM
(This post was last modified: 02-12-2021 01:43 PM by Werner.)
Post: #7
|
|||
|
|||
RE: Second derivative with complex numbers
A Free42 program for both first and second derivative.
I took h=sqrt(i), that seems to work as well, and then the division by h^2 for the second derivative is no longer necessary ;-) Update: whenever I think I'm being smart, it turns out I make things worse. So the program below uses h = sqrt(i)/1e3.. Update 2 : shorter Instructions: put the name of the function to derive in the ALPHA reg, X-value in X, press either F' or F" for first and second derivative, respectively. Code: 00 { 86-Byte Prgm } With the polynomial above: Code: 00 { 19-Byte Prgm } "FX" 4 XEQ "F'" -> 328 (-2.91e-29) 4 XEQ "F"" -> 270 (+2e-28) 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: 4 Guest(s)