Maple - Finding maximum of maximums in different functions

Click For Summary
SUMMARY

The discussion focuses on finding the highest maximum value among 11 equations using Maple, a symbolic computation tool. The user seeks an efficient method to identify not only the maximum value but also the corresponding function. They suggest creating an array of functions, iterating through it to compute the maxima, and then retrieving the function associated with the highest maximum. The user acknowledges potential terminology issues but emphasizes the need for a concise solution without excessive coding.

PREREQUISITES
  • Familiarity with Maple programming language
  • Understanding of functions and their maxima
  • Basic knowledge of arrays or lists in programming
  • Experience with symbolic computation tools
NEXT STEPS
  • Explore Maple's built-in functions for maximum calculations
  • Learn about creating and manipulating arrays in Maple
  • Research techniques for iterating through collections in Maple
  • Study examples of symbolic computation for optimization problems in Maple
USEFUL FOR

Mathematicians, engineers, and programmers who utilize Maple for symbolic computation and optimization tasks, particularly those dealing with multiple functions and their properties.

Rafael de Gomes
Messages
1
Reaction score
0
Hello,

I've been trying to come up with a short way of writing the code. What I'm trying to do is:

I have 11 equations, each of which have a defined minimum and maximum. I'm trying to find the highest maximum out of all of them and I need to know which one it is. The highest as in farthest away from zero, so negative values are also required.

I was trying this:
upload_2015-5-25_20-53-8.png


And although this would work (it does give me a value), it doesn't tell me which of the functions is the highest. Is there any way to do this other than wasting a bunch of lines writing:
upload_2015-5-25_20-54-52.png


?
 
Physics news on Phys.org
You'll probably want to write a function as far as I can tell. (It's been a while since I used maple so maybe a built-in function exists although highly unlikely)

In essence it would do something like create an array of functions.
Then loop over this array determining the maximum/whatever you need of said function and assign to a new array at the same index (<- this is important)
Then you can determine the maximum of this newly created list
Now the result, you search in your array of maxima and use the index to retrieve your function.

disclaimer: I'm probably using some bad terminology here like the array. An array can be a list or vector or ... in Maple, if I'm not mistaken
 

Similar threads

  • · Replies 1 ·
Replies
1
Views
3K
  • · Replies 14 ·
Replies
14
Views
2K
  • · Replies 26 ·
Replies
26
Views
4K
  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 1 ·
Replies
1
Views
11K
  • · Replies 13 ·
Replies
13
Views
3K
  • · Replies 9 ·
Replies
9
Views
4K
Replies
5
Views
3K
  • · Replies 1 ·
Replies
1
Views
3K
  • · Replies 13 ·
Replies
13
Views
11K