Search code examples
maxima

Maxima variable ranges


I have the following function

enter image description here

but I don't know how to set ranges for my x variable, I would like to set it x=[-8,6]


Solution

  • You can say assume(x > -8, x < 6) although I don't think max can make use of that to find the maximum of that expression over that interval.