Get Help

Turn on suggestions

Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.

Showing results for

- Community
- :
- PTC Mathcad
- :
- PTC Mathcad
- :
- Re: Congruences, Divisibility Test

Options

- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Mute
- Printer Friendly Page

Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.

Showing results for

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Notify Moderator

10-11-2015
09:30 AM

10-11-2015
09:30 AM

Use an appropriate function using Mathcad to find the **remainder** when

12345678981129 is divided by 5518.

Can anybody help in this?

Beginner in Mathcad...

Solved! Go to Solution.

Labels:

1 ACCEPTED SOLUTION

Accepted Solutions

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Notify Moderator

10-11-2015
06:24 PM

10-11-2015
06:24 PM

Kok Kiang Lian wrote:

Use an appropriate function using Mathcad to find the

remainderwhen12345678981129 is divided by 5518.

Can anybody help in this?

Beginner in Mathcad...

7 REPLIES 7

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Notify Moderator

10-11-2015
09:41 AM

10-11-2015
09:41 AM

Re: Congruences, Divisibility Test

Look up the "floor" function.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Notify Moderator

10-11-2015
11:56 AM

10-11-2015
11:56 AM

Re: Congruences, Divisibility Test

Or the "mod" function.

Alan

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Notify Moderator

10-11-2015
06:24 PM

10-11-2015
06:24 PM

Kok Kiang Lian wrote:

Use an appropriate function using Mathcad to find the

remainderwhen12345678981129 is divided by 5518.

Can anybody help in this?

Beginner in Mathcad...

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Notify Moderator

10-11-2015
07:02 PM

10-11-2015
07:02 PM

Re: Congruences, Divisibility Test

And here endeth the beginners lesson in Mathcad

Interesting observation about the built-in mod function though

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Notify Moderator

10-13-2015
10:54 AM

10-13-2015
10:54 AM

Re: Congruences, Divisibility Test

Thxs, Sir...

As for trunc and floor, I don't really understand. It don't seems to give the right answer to the question by using trunc and floor.

I will practice on it and figure it out...

Regards

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Notify Moderator

10-13-2015
11:42 AM

10-13-2015
11:42 AM

Re: Congruences, Divisibility Test

Sir,

It seems like = sign is not showing the right answer for some other questions.... Symbolic processing is more appropriate.

Thxs again.

Regards

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Notify Moderator

10-13-2015
11:48 AM

10-13-2015
11:48 AM

Re: Congruences, Divisibility Test

Kok Kiang Lian wrote:

Sir,

It seems like = sign is not showing the right answer for some other questions.... Symbolic processing is more appropriate.

Yes. For large integers (more 15 digits), the numeric processor will have limitations on how many digits it can store and, consequently, on how accurate the divisions will be, even with smaller integers as the divisions may not have sufficient (binary) digits to be exact. The symbolic processor should be able to handle reasonably large numbers ...

Stuart