Help!! programming hp 48G « Next Oldest | Next Newest »

 ▼ Marco Junior Member Posts: 12 Threads: 5 Joined: Jan 1970 03-17-2007, 09:16 AM hey! I hope someone could help me! I have a set of equations that I would like to solve with a program: A = bd - zd^2 P = b + 2d v(1 + z^2) R = A/P V = 1/n * R^(2/3) *(1/2) Q = A * V I have already done it with the Multiple Equiation Solver, but I'd like to know if there's another way of doing it. This is what I did: << {'A = bd - zd^2' 'P = b + 2d v(1 + z^2)' 'R = A/P' 'V = 1/n * R^(2/3) *(1/2)' 'Q = A * V'} 'EQ' STO MINIT MSOLVR >> And then I created another program to erase the variables that it stored: << {A b d z P R V n S EQ Mpar Q} PURGE >> Please help me, I think this is not the best way to do it! ▼ Benny Junior Member Posts: 13 Threads: 6 Joined: Jan 1970 03-17-2007, 02:55 PM Hi Marco, This is what I do: I put each formulae in a variable F1, F2, F3, F4. Then I add a description in the variable TITLE and next I complete the sequence of the params in a list and store it in LVARI. Be shure the list is complete. The main program then looks clearly structured: << F1 F2 F3 F4 4 \-> LIST STEQ TITLE LVARI MINIT MITM MSOLVR>> Using STEQ shortens the program. Hope this helps. Kind regards, Benny Vanrutten ▼ Marco Junior Member Posts: 12 Threads: 5 Joined: Jan 1970 03-17-2007, 05:20 PM Hey Benny thanks for your answer! I have sone doubts in what you told me: how can I add a title in the global variable?, and what does LVARI do? thanks for your answer!, but I have another doubt, When I don't give a lot of values it tells me that it has TOO MANY UNKNOWS, but with the same values that I give it I can solve the problem mannually but it takes some time, I don't know if I can apply in the program an iteration methor or something, what would you suggest me? Thanks!, Marco ▼ Benny Junior Member Posts: 13 Threads: 6 Joined: Jan 1970 03-18-2007, 06:43 PM Hi Marco, In the variable LVARI you put ALL your parameters in the sequence you like them to appear on the display above the F-keys: e.g. { A b d z P R V ...} In TITLE you put the title you want to appear on top of the display e.g. "MY EQUATIONS" TO MANY UNKNOWNS: that is normaly what you get when you did not define enough variables. Perhaps the program needs startvalues. You can find more in the hp50G users guide on pages 7-10 ... 7-21 (hp50gug.pdf) which you can download from www.hpcalc.org (november 24 2006). If you like to Purge you can call LVARI and issue PURGE. That saves time. The best way is to run the program in a separate directory. KR Benny Vanrutten Mike Ingle Junior Member Posts: 26 Threads: 10 Joined: Jan 2007 03-23-2007, 02:09 PM Try my multiple equation solver. Scroll down to multiple equation solver for the HP28C. It works on the 48G too.

 Possibly Related Threads... Thread Author Replies Views Last Post Riemann's Zeta Function update (HP-28S, HP-48G/GX/G+, HP-49G/G+/50g) Gerson W. Barbosa 0 270 06-30-2013, 01:01 AM Last Post: Gerson W. Barbosa OT: DIFFERENTIAL EQUATIONS using the HP-48G/GX Ivan Rancati 2 371 06-04-2013, 04:11 AM Last Post: Frank Boehm (Germany) Able to set HP 48G axis tick marks at integers? Randal B 1 269 01-24-2013, 12:40 AM Last Post: Chris Dreher HP 48G -- entering more than one equation into the PLOT application Randal B 1 265 01-24-2013, 12:25 AM Last Post: Chris Dreher HP 48G series -> 20 years NACHO 0 259 12-13-2012, 09:40 AM Last Post: Nacho ROOT bug? HP 48S/48G Eddie W. Shore 8 695 07-13-2012, 07:05 PM Last Post: Eddie W. Shore RPL prog for Fibonacci on HP 48G needs minor modification. help. wildpig 68 3,331 07-09-2012, 09:38 AM Last Post: Gilles Carpentier HP-48G not responding Walt 3 343 05-20-2012, 08:03 PM Last Post: Allen HP-48G IR connectivity Thomas Radtke 4 341 07-12-2011, 02:49 PM Last Post: Thomas Radtke HP-48G IR Test Failure aj04062 7 598 07-10-2011, 09:22 PM Last Post: Paul Berger (Canada)

Forum Jump: