Post Reply 
(42S) Numerical Derivative
07-11-2016, 06:39 AM
Post: #2
RE: (42S) Numerical Derivative
if the function to be derived is defined in the complex plane, there is a much simpler, faster and more accurate way.
The program below is my version of what was originally a 15C program by Valentin Albillo.

Code:
Usage:
In:  ALPHA: function name
     X: x
Out: X: f'(x)

00 { 30-Byte Prgm }
01>LBL "DER"
02 ENTER
03 ABS
04 X#0?
05 LOG
06 IP
07 9
08 -
09 10^X
10 STO "h"
11 COMPLEX
12 ASTO ST L
13 XEQ IND ST L
14 COMPLEX
15 RCL/ "h"
16 END
Cheers, Werner

41CV†,42S,48GX,49G,DM42,DM41X,17BII,15CE,DM15L,12C,16CE
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
RE: (42S) Numerical Derivative - Werner - 07-11-2016 06:39 AM



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