How Do You Find Max and Min Values in Maple?

  • Context: Maple 
  • Thread starter Thread starter Spectre32
  • Start date Start date
  • Tags Tags
    Maple Max
Click For Summary

Discussion Overview

The discussion revolves around finding maximum and minimum values of functions using Maple, a computer algebra system. Participants share their experiences and methods related to differentiation and solving equations within the software.

Discussion Character

  • Technical explanation, Homework-related, Debate/contested

Main Points Raised

  • One participant expresses difficulty in finding max and min values using differentiation and fsolve in Maple.
  • Another participant suggests posting the code for more targeted assistance.
  • A different participant shares a method involving the LinearAlgebra package to find max and min values, including differentiation and substitution.
  • One participant recalls using a differentiation approach but is uncertain about the exact code syntax.
  • Another participant notes the importance of checking for saddle points using the second derivative test, suggesting further research in calculus resources.

Areas of Agreement / Disagreement

Participants have not reached a consensus on the best method to find max and min values in Maple, and multiple approaches are being discussed.

Contextual Notes

Some methods mentioned may depend on specific assumptions about the functions being analyzed, and there is an acknowledgment of the need for a second derivative check to confirm the nature of critical points.

Spectre32
Messages
136
Reaction score
0
Hey guys, I don't know if you can help me or not but i have a question dealing with maple. IT's asking me to find the MAX and Mins with my current function, and I've been trying everything. I differentiate it, and then use fsolve, but i can't get it to work. If anyone has an idea please help out.


Thanks
 
Physics news on Phys.org
If you post your code, we might be able to help.
 
Although its not elegant it gives you the max and min's of an expression f:

Code:
with(LinearAlgebra):
f := x^2 + 2*x + 1;
sol := [solve(diff(f,x)=0,x)]:
for i from 1 to Dimension(<sol>) do 
	y[i] := subs(x=sol[i],f): print([sol[i],y[i]]) 
end do:
 
Yeah i had my fuction set you f and then had something like this:

diff(f,t);
folve(f(t)=0,t);

Or something similar to that. I'm not at my maple computer so I'm trying to recall off the top of my head.
 
Yeh, but there's still saddle points to deal with. (2nd derivate check)
Look it up in a good calculus textbook and the write out the procedure in maple...
 

Similar threads

  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 3 ·
Replies
3
Views
4K
Replies
3
Views
2K
Replies
5
Views
3K
  • · Replies 1 ·
Replies
1
Views
3K
  • · Replies 39 ·
2
Replies
39
Views
9K
  • · Replies 3 ·
Replies
3
Views
3K
  • · Replies 29 ·
Replies
29
Views
3K
  • · Replies 2 ·
Replies
2
Views
3K