The Museum of HP Calculators

HP Forum Archive 21

[ Return to Index | Top of Index ]

HP Prime : Bezout relation
Message #1 Posted by Mic on 17 Aug 2013, 12:11 p.m.

Hello,

here is a program giving the Bezout link between two integers :

Download

      
Re: HP Prime : Bezout relation
Message #2 Posted by Andy B (Australia) on 17 Aug 2013, 9:02 p.m.,
in response to message #1 by Mic

Sounds good. How do I load this .hppprgm into either the emulator or the real calc?

How are you generating these .hpprgm files - I'd love to share a program for the HP Prime that I have developed too.

            
Re: HP Prime : Bezout relation
Message #3 Posted by Mic on 18 Aug 2013, 3:05 a.m.,
in response to message #2 by Andy B (Australia)

Put it into C:\Users\your name\AppData\Roaming\HP_Prime

Edited: 18 Aug 2013, 3:05 a.m.

                  
Re: HP Prime : Bezout relation
Message #4 Posted by Gilles Carpentier on 18 Aug 2013, 6:30 a.m.,
in response to message #3 by Mic

With WIN XP it is elsewhere , but I always forget where it is...

Could you publish it in text format ?

Note that there is a CAS iegcd command for this (but it's less didactic ;)

iegcd(1024,450)

-> [98, -223, 2]

Like the 50G you can also solve some equations (a.u+b.v=c) in Z

Edited: 18 Aug 2013, 6:50 a.m.

                        
Re: HP Prime : Bezout relation
Message #5 Posted by Mic on 18 Aug 2013, 12:45 p.m.,
in response to message #4 by Gilles Carpentier

I made a video : http://youtu.be/D9eOpS-Pwhk

                  
Re: HP Prime : Bezout relation
Message #6 Posted by Andy B (Australia) on 19 Aug 2013, 7:03 a.m.,
in response to message #3 by Mic

Ah - I see how to load program files into the emulator now. Just go to %appdata%/HP_Prime and you'll see all the programs and apps in the emulator listed. Nice - very open and accessible. So under windows xp its:

C:\Documents and Settings\YOURUSERNAME\Application Data\HP_Prime
But its easier just to open windows explorer and type
%appdata%/HP_Prime
into the address bar.

You can then copy program files in and out of there. Seems you need to restart the emulator to see new programs. Here is an example of what my directory looks like:

&Advanced Graphing.hpapp
&Advanced Graphing.hpappnote
&Advanced Graphing.hpappprgm
&DataStreamer.hpapp
&DataStreamer.hpappnote
&DataStreamer.hpappprgm
&Finance.hpapp
&Finance.hpappnote
&Finance.hpappprgm
&Function.hpapp
&Function.hpappnote
&Function.hpappprgm
&Geometry.hpapp
&Geometry.hpappnote
&Geometry.hpappprgm
&Inference.hpapp
&Inference.hpappnote
&Inference.hpappprgm
&Linear Explorer.hpapp
&Linear Explorer.hpappnote
&Linear Explorer.hpappprgm
&Linear Solver.hpapp
&Linear Solver.hpappnote
&Linear Solver.hpappprgm
&Parametric.hpapp
&Parametric.hpappnote
&Parametric.hpappprgm
&Polar.hpapp
&Polar.hpappnote
&Polar.hpappprgm
&Quadratic Explorer.hpapp
&Quadratic Explorer.hpappnote
&Quadratic Explorer.hpappprgm
&Sequence.hpapp
&Sequence.hpappnote
&Sequence.hpappprgm
&Solve.hpapp
&Solve.hpappnote
&Solve.hpappprgm
&Spreadsheet.hpapp
&Spreadsheet.hpappnote
&Spreadsheet.hpappprgm
&Statistics 1Var.hpapp
&Statistics 1Var.hpappnote
&Statistics 1Var.hpappprgm
&Statistics 2Var.hpapp
&Statistics 2Var.hpappnote
&Statistics 2Var.hpappprgm
&Triangle Solver.hpapp
&Triangle Solver.hpappnote
&Triangle Solver.hpappprgm
&Trig Explorer.hpapp
&Trig Explorer.hpappnote
&Trig Explorer.hpappprgm
bezout_prime.hpprgm
calc.settings
calc_pi.hpprgm
calc_pie(max_iter).hpprgm
calc_pi_loop.hpprgm
cas.settings
DiceSimulation.hpapp
DiceSimulation.hpappnote
DiceSimulation.hpappprgm
DICESIMVARS.hpprgm
L0.hplist
L1.hplist
L2.hplist
L3.hplist
L4.hplist
L5.hplist
L6.hplist
L7.hplist
L8.hplist
L9.hplist
M0.hpmat
M1.hpmat
M2.hpmat
M3.hpmat
M4.hpmat
M5.hpmat
M6.hpmat
M7.hpmat
M8.hpmat
M9.hpmat
ROLLDIE.hpprgm
ROLLMANY.hpprgm
settings
SIMULPIE(max_iter).hpprgm
testmodes.hptestmodes
Triangle Andy1.hpapp
Triangle Andy1.hpappnote
Triangle Andy1.hpappprgm
tunnel.hpprgm
updown.hpprgm
                  
Re: HP Prime : Bezout relation
Message #7 Posted by Eddie W. Shore on 20 Aug 2013, 8:53 a.m.,
in response to message #3 by Mic

Quote:
Put it into C:\Users\your name\AppData\Roaming\HP_Prime


Super! I like the step-by-step result. Thank you Mic!

Edited: 20 Aug 2013, 8:53 a.m.

      
Re: HP Prime : Bezout relation
Message #8 Posted by Namir on 18 Aug 2013, 4:50 a.m.,
in response to message #1 by Mic

Cool program. Thank you!!!

Namir


[ Return to Index | Top of Index ]

Go back to the main exhibit hall