That particular example is almost easier to do by hand, but one way in
Sage is:

f=(sin(5*pi*x))^6
solve(diff(f,x)==0,x)

which gives

[x == 0, x == (1/10)]

Of course there are a lot more solutions than those in this case;
those might have been chosen by taking one branch of the inverse
sine.

-M.Hampton

On Mar 7, 2:47 pm, Mike Brown <[email protected]> wrote:
> Hello,
>
> I want to say that I just learned about Sage.  I tried installing it,
> but I didn’t have enough memory and then I saw that I could run it
> online.  Impressive!  What it can do is amazing.
>
> I have been playing around with sage and reading the documentation.  I
> am trying to find the local maximums for some continuous functions for
> define domain ranges.  I tried taking the derivative and finding out
> where it is 0.  That would tell me the local min and maxs.  Then I was
> going to figure out which ones are the local maxs.
>
> Here is one of the equations: f(x) = (sin (5*PI*x))^6, where 0 <= x
> <=1.  I am trying to find out what are the local maximums of that
> equation.  Can someone point me in the right direction?  Can sage do
> that directly?  Is there a way to set the domain (ie 0 <= x <=1)?  Any
> help is greatly appreciated.
>
> Thanks
> Mike Brown

-- 
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/sage-support
URL: http://www.sagemath.org

Reply via email to