Post Reply 
assumptions in integrals' computation in programming mode
10-29-2022, 01:38 PM
Post: #3
RE: assumptions in integrals' computation in programming mode
(10-29-2022 12:43 PM)Ioncubekh Wrote:  
Code:
assume(t>0 AND t>x)

Thank you for the answer, but my question is another: in which area of a program do I put the instruction "assume"? For example, in this "#cas ... #end" program:

#cas
cavolo():=
BEGIN
LOCAL fnz, Fnz;
fnz:=(x)->(t-x)^(-1/2)*LN(x);

Fnz:=(t)->int(fnz(x),x,0,t);

RETURN Fnz(t);

END;
#end

in which zone do I put "assume(...)"?
Putting the "assume()" statement between the "fnz" statement and the "Fnz" statement, I get nothing.

Thanks a lot, robmio
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
RE: assumptions in integrals' computation in programming mode - robmio - 10-29-2022 01:38 PM



User(s) browsing this thread: 1 Guest(s)