Group Abstract Group Abstract

Message Boards Message Boards

Find the root of a function with two variables?

Posted 8 years ago
POSTED BY: KA KAM CHEN
3 Replies
Posted 8 years ago

Thank you for your help!

POSTED BY: KA KAM CHEN

It is not w that you want to be zero, but its gradient:

FindRoot[Grad[w[s, u], {s, u}] == 0, {s, 0}, {u, Pi}]
POSTED BY: Gianluca Gorni

In this case I would try FindMaximum:

FindMaximum[w[s, u], {s, .3}, {u, .1}]

For exact symbolic solutions you can use Reduce:

Reduce[Grad[Rationalize[w[s, u]], {s, u}] == 0 &&
  -1 < s < 1 &&
  -1 < u < 1,
 {s, u}, Reals]
% // N
POSTED BY: Gianluca Gorni
Reply to this discussion
Community posts can be styled and formatted using the Markdown syntax.
Reply Preview
Attachments
Remove
or Discard