assume(theta>0);
f:=v->1/2*theta*exp(-theta*v);
After I define the function f(v), there is an error if it is integrated from q to inifinity:
(in sprintf) insufficient parameters for strig format
int(f(v)*v,v=q..infinity);
But the following code works well
int(f(v)*v,v=q1..q2);
Asked
Active
Viewed 28 times
-1

EdisonKIng
- 35
- 4
-
I dodn't get that error, when I try your code. What precise version of Maple are you using? (major&minor number, eg. "Maple 2023.0", etc) – acer Aug 03 '23 at 13:32
-
This error seems only in ubuntu maple2022. I also tried windows maple 2020, but this error doesn't take place. – EdisonKIng Aug 04 '23 at 00:52
-
The error did not occur for me when using Maple 2022.2 for ubuntu. Are you using the 2022.2 update point-release (free update from 2022.0)? https://www.maplesoft.com/support/downloads/m2022_2update.aspx – acer Aug 04 '23 at 05:22
-
Thank you. There is no error after I installed the update. – EdisonKIng Aug 04 '23 at 07:23