Jump to content



Photo
- - - - -

Mod Functions On Casio Fx-85ms


  • Please log in to reply
3 replies to this topic

#1 Xeuim

Xeuim

    Newbie

  • Members
  • Pip
  • 1 posts

Posted 13 November 2007 - 07:27 PM

Hey all

Sorry if this has been answered before, I did look through the forums but I couldnt see the answer for this model of calculator. I am at University and we have been told we have to use the calculator FX-85MS for all our exams. We are currently studying DES cryptography and we were looking at how the cipher text is generated.

The upshot of all of this is that we had to do the following calculation;

5^13 mod 77

Now the 5^13 is nice and easy, but I have no idea, nor does my lecturer on how to do the mod function on this calculator? Any input would be great on this one as at the moment I am kinda stuck on it

Kind Regards

Mark Furby

#2 Guest_helper_*

Guest_helper_*
  • Guests

Posted 20 November 2007 - 06:06 PM

How about

Fix 0

(5^13/77-Rnd(5^13/77)) =

then Ans*77

Works for me

#3 steiny

steiny

    Newbie

  • Members
  • Pip
  • 1 posts

  • Calculators:
    HP 39gs
    Casio FX-9860G

Posted 05 December 2007 - 01:45 AM

x mod y is the remainder of x/y, or

x-(y*int(x/y))

hth

#4 Guest_Priyank_*

Guest_Priyank_*
  • Guests

Posted 01 February 2010 - 02:27 PM

what about 5^55 mod 221, it does not work for me.


2 user(s) are reading this topic

0 members, 2 guests, 0 anonymous users