Subject: Cannot use "diff" in a function assignment.
From: Luigi Marino
Date: Thu, 24 Nov 2011 08:31:03 +0100
Stavros
I have tried it, here my
output:
(%o1) m(x):=a3*x^3+a4*x^4+a5*x^5+a6*x^6+a7*x^7
(%o2) dm(x):=7*a7*x^6+6*a6*x^5+5*a5*x^4+4*a4*x^3+3*a3*x^2
(%o3) F(x):=a7*x^5+a6*x^4+a5*x^3+a4*x^2+a3*x
(%o4) dF(x):=5*a7*x^4+4*a6*x^3+3*a5*x^2+2*a4*x+a3
(%o5) ddF(x):=20*a7*x^3+12*a6*x^2+6*a5*x+2*a4
(%o6) [a3=502/9,a4=-1811/9,a5=290,a6=-1732/9,a7=440/9]
Very simple.
Best wishes
Luigi Marino