Message Boards Message Boards

0
|
1443 Views
|
1 Reply
|
0 Total Likes
View groups...
Share
Share this post:

Modulus->n not working in free input form

Posted 1 year ago

Hello, I was trying to solve this equation for modulo 2. However whenever I input "modulus-->n" Mathematica does not give me the solutions. According to the documentation center, Modulus should work but for some reason it never does. The solutions for this system are supposed to be x,y,z= (0,1,0) and (1,0,0). Can someone please explain to me what I am doing wrong. enter image description here

POSTED BY: Santiago Rocha

Not sure what went awry but it works fine for me.

In[165]:= Solve[{x^2 + y^2 + z^2 == 1, x + y == 1}, Modulus -> 2]

Out[165]= {{x -> 0, y -> 1, z -> 0}, {x -> 1, y -> 0, z -> 0}}
POSTED BY: Daniel Lichtblau
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