Assumptions on variables
Note that these various components are not part of one Maple session like in a typical Maple worksheet and assumptions will not carry across the components.
For example, if you take an algorithmic variable:
$f=maple("assume(t>0): sqrt(t^2)");and then reference t (either directly or indirectly via $f for instance) in Maple grading code (or even anywhere else in the question’s algorithm for that matter), there is no assumption on t at that point. The assumption would have to be explicitly added to the Maple grading code to be taken into account.
Did you find this article helpful?