Message Boards Message Boards

0
|
2770 Views
|
2 Replies
|
1 Total Likes
View groups...
Share
Share this post:

A bug or not in Equation solver?

Posted 3 years ago
In[6]:= Solve[-3 (y - 2)^(4/5) + 29 == -19, y, Integers]

Out[6]= {{y -> 34}}

There is another root for above equation that is y -> -30. But the software only display one root. Is it a bug?

POSTED BY: Daqing Li
2 Replies
Posted 3 years ago

You can use Surd to also get the negative real root:

Solve[-3 Surd[(y - 2)^4, 5] + 29 == -19, y]
(* {{y -> -30}, {y -> 34}} *)

As an alternative the equation can be rewritten:

Solve[-3 ((y - 2)^4)^(1/5) + 29 == -19, y, Integers]
(* {{y -> -30}, {y -> 34}} *)
POSTED BY: Hans Milton
Posted 3 years ago

Thanks for the help.

POSTED BY: Daqing Li
Reply to this discussion
Community posts can be styled and formatted using the Markdown syntax.
Reply Preview
Attachments
Remove
or Discard

Group Abstract Group Abstract