john2

25 Reputation

6 Badges

13 years, 83 days

MaplePrimes Activity


These are replies submitted by john2

Thank you for this suggestion. I have tried it and discovered it only works for continuous functions (e.g. Fourier series, polynomial function).

I have entered a piecewise function into Maple which has 2 variables, however, it does not want to find the maximum of the function. The error is "Error, invalid input: too many and/or wrong type of arguments passed to DirectSearch:-Search; first unused argument is maximise".

My call is: "Search(strain, [x>=0 and x<2.5 and t>=0 and t<10], maximise);" - where strain contains piecewise functions and is in the variables x and t only.

What can I do to overcome this?

Thank you for this suggestion. I have tried it and discovered it only works for continuous functions (e.g. Fourier series, polynomial function).

I have entered a piecewise function into Maple which has 2 variables, however, it does not want to find the maximum of the function. The error is "Error, invalid input: too many and/or wrong type of arguments passed to DirectSearch:-Search; first unused argument is maximise".

My call is: "Search(strain, [x>=0 and x<2.5 and t>=0 and t<10], maximise);" - where strain contains piecewise functions and is in the variables x and t only.

What can I do to overcome this?

1 2 Page 2 of 2