Group Abstract Group Abstract

Message Boards Message Boards

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

How to avoid error: Equations may not give solutions for all "solve" variables

Posted 3 days ago

Please explain these and how to not get them as output from my code (functional programming), without turning off the message?

Solve::svars: Equations may not give solutions for all "solve" variables.
General::stop: Further output of Solve::svars will be suppressed during this calculation.
POSTED BY: Nomsa Ledwaba
2 Replies

This usually happens when the number of equations is less than the number of unknowns:

Solve[x + y == 0, {x, y}]

To avoid this message, simply give an appropriate, shorter list of unknowns:

Solve[x + y == 0, y]
POSTED BY: Gianluca Gorni

Welcome to Wolfram Community!
Please provide your efforts in the form of the Wolfram Language code. This will make it easier for other members to help you.

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