Data update

This commit is contained in:
Ingy döt Net 2025-02-27 18:35:13 -05:00
parent 8e4e15fa56
commit 72eb4943cb
1853 changed files with 35514 additions and 9441 deletions

View file

@ -0,0 +1,27 @@
include Settings
Main:
say version; say 'Higher-order functions'; say
call Calculate '1/x',6
call Calculate 'Sqrt(x)',2
call Calculate 'Sin(x)',1
call Calculate 'Cos(x)',2
call Calculate 'Tan(x)',3
call Calculate 'Sin(x)/Cos(x)-Tan(x)',1
call Calculate 'x**2-3*x+Arcsin(x)-Sinh(x)/x-Pi()+E()',1/3
exit
Calculate:
procedure
parse arg ff,xx
say ff 'for x='xx 'makes' Evaluate(ff,xx)+0
return
Evaluate:
procedure
parse arg f,x
interpret 'return' f
include Functions
include Constants
include Abend