maxima : programming : DD operator with two arguments.version 1.0
peter.vlasschaert@gmail.com.18/08/2022

ref : my website
-------------------
new: 22/07/2022:maxima : D operator use "introduction",version 1.0
rem:prefix,ode2,assume,psubst,solve,is.
download  (maxima,code)       :maximaodeDoperatorintroversion12022
download  (maxima,png  )       :maximaodeDoperatorintroversion12022outp
web : example
------------------
https://stackoverflow.com/questions/46562810/maxima-translation-operator-on-functions

product : evaluation can't be used (= OPERATOR)
-----------------------------------------------------------

→ a) simple : for loop

p:1; /*initvalue for product */
for i:1 thru 5 do(
p:p*i
)$

p;

p =1*2*3*4*5

→ b) product : function Maxima.

pp:product(i,i,1,5);

pp =1*2*3*4*5

kill(p,pp);

[p,pp];

p ≠ operator not allowed (p =number,atom,symol)
rem : p ≠ D ,see below, error occur ( = initvalue)

DD operator : with "two arguments".
--------------------------------------------

p1:DD(f,m):=ev(diff(f,x,m),nouns);

rem : don't use DD[m](f) instead use DD(f,m).

predix("DD");

→ function for evaluation through the DD,D.

f:3*x^4;

DD(f,2);

p1:makelist(DD(f,i),i,1,4);

p2:DD(DD(f,3),1);

first      evaluation : m→ 3
second evaluation : m→ 1
m = 3+1 = 4

p2a:DD(DD(f,2),2);

first      evaluation : m→ 2
second evaluation : m→ 2
m = 2+2 = 4

p3:makelist(DD(f,i),i,[1,2,3,4]);

 D operator: with "one argument ".
------------------------------------------
see: ref

D(f):=diff(f,x);
prefix("D")$

relation : between D ,DD both operators.
-------------------------------------------------

p4a:D(D(D(D(f))));

p4b:DD(f,4);/*m=4*/

p4c:p4a=p4b;

check :

p4d:is(p4c);

------------------------------------------------------------------------------