Mathematica 9 is now available
Student Support Forum
Student Support Forum: 'Mod question' topicStudent Support Forum > General > "Mod question"

Next Comment >Help | Reply To Topic
Author Comment/Response
12/28/09 09:31am

If I want to calculate mod(5a,3a), I would like the answer '2a', as 5a = 3a * 1 + 2a.
However, when I calculate
Mod[5 a, 3 a]
the result returned is
(5 a) mod (3 a)
which, although accurate, is not what I want.

As you might guess, I am VERY new with Mathematica...

URL: ,

Subject (listing for 'Mod question')
Author Date Posted
Mod question Jacques 12/28/09 09:31am
Re: Mod question yehuda ben-s... 12/30/09 02:13am
Next Comment >Help | Reply To Topic