Dismiss Notice
Join Physics Forums Today!
The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

Maple question

  1. Sep 3, 2004 #1
    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.

  2. jcsd
  3. Sep 3, 2004 #2


    User Avatar
    Science Advisor
    Homework Helper
    Gold Member

    If you post your code, we might be able to help.
  4. Sep 3, 2004 #3
    Although its not elegant it gives you the max and min's of an expression f:

    Code (Text):
    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:
  5. Sep 5, 2004 #4
    Yeah i had my fuction set you f and then had something like this:


    Or something similiar to that. I'm not at my maple computer so i'm trying to recall off the top of my head.
  6. Sep 7, 2004 #5
    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...
Know someone interested in this topic? Share this thread via Reddit, Google+, Twitter, or Facebook

Have something to add?

Similar Discussions: Maple question
  1. Maple 10 question (Replies: 2)

  2. Older maple question (Replies: 1)

  3. Maple question (Replies: 2)

  4. Maple question (Replies: 1)