Question: Expecting numerical value from Integrate but getting symbols

pdf.mw
 

with(stats)

"f(x):=statevalf[pdf,normald[0,2*4.47]]  "

proc (x) options operator, arrow, function_assign; statevalf[pdf, normald[0, 2*4.47]] end proc

(1)

plot(f(x), -20 .. 20)

 

int(x*f(x), x)

.5000000000*x^2*statevalf[pdf, normald[0, 8.94]]

(2)

NULL


 

Download pdf.mw

Want to integrate x*f(x) where x is from -20..20, I am expecting a pure float number but getting symbols like statevalf_pdf in answer.

 

Please Wait...